Timeline for Why does an argument similiar to 0.999...=1 show 999...=-1?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 5, 2017 at 10:17 | comment | added | Takahiro Waki | Actually, this error happens in calculator by this mechanism. | |
Feb 7, 2016 at 11:27 | audit | First posts | |||
Feb 7, 2016 at 11:28 | |||||
Feb 3, 2016 at 18:52 | audit | First posts | |||
Feb 3, 2016 at 18:52 | |||||
Jan 24, 2016 at 20:22 | comment | added | hobbs | @CommonToad yeah, because two's complement is really just about identifying 2^n with zero, and 2^n - 1 with -1, etc. for some convenient n. The bit about inverting all the bits and adding one to negate is just a convenient bit of sleight-of-hand. The modulus interpretation is the same thing as what's being extended here :) | |
Jan 24, 2016 at 11:02 | comment | added | CommonToad | I like this. It seems similar to @DanielFischer reference to two's complement. | |
Jan 24, 2016 at 0:50 | history | edited | Milo Brandt | CC BY-SA 3.0 |
deleted 3 characters in body
|
Jan 24, 2016 at 0:43 | history | answered | Milo Brandt | CC BY-SA 3.0 |