|
|
|
|
|
by defrost
928 days ago
|
|
\1 is a good question that deserves an answer. \2 is "not always" .. Consider SumOf 1 + 1/2 + 1/4 + 1/8 + 1/16 + 1/32 ... an infinite sequence of continuously decreasing numbers, the more you add the smaller the quantity added becomes. It appears to approach but never reach some finite limit. Unless, of course, by "Number" you mean "whole integer" | counting number, etc. It's important to nail down those definitions. |
|
The same argument I mentioned above, that subtracting 0.99999... from 1 will give you a number that is equal to zero, will also tell you that binary ...11111 or decimal ...999999 is equal to negative one. If you add one to the value, you will get a number that is equal to zero.
You might object that there is an infinite carry bit, but in that case you should also object that there is an infinitesimal residual when you subtract 0.9999... from 1.
It works for everything, not just -1. The infinite bit pattern ...(01)010101 is, according to the geometric series formula, equal to -1/3 [1 + 4 + 16 + 64 + ... = 1 / (1-4)]. What happens if you multiply it by 3?
You get -1.