« first day (3668 days earlier)      last day (1265 days later) » 

12:49 AM
@fredoverflow With 8 most significant bits I meant starting at the first 1 bit.
So 0x01ffffff becomes 0x01fe0000
@fredoverflow Unsigned
 
 
2 hours later…
3:09 AM
 
 
7 hours later…
9:39 AM
@StackedCrooked Then the worst case 0x80ffffff -> 0x80000000 loses about 1/129.
 
10:06 AM
@fredoverflow Yeah, that's what I found experimentally. However, I don't get why. The 8 most significant bits should provide 256 different values. So I'd think the difference with the original value is gonna be at most 1/256th of the original value.
I must be missing something obvious.
 
It would be 1/256 if you only lost a single bit. It would be 1/128 if you lost an infinite number of bits.
0.11111... is basically 1, not 0.1
1/256 + 1/512 + 1/1024 + 1/2048 + 1/4096 + ... = 1/128
 
Oh damn.
You saved me :)
 
Take that people who say math is useless, I just saved a man's live ;)
 
10:31 AM
@fredoverflow Not sure about that ... I think you mean 0.9999999999.... is basically 1.
Or the limit of 9/10+ 9/(10)^2+ 9/(10)^3...+9/(10)^n+... = 1
 
 
4 hours later…
2:14 PM
@TelKitty 0.11111... in binary, not decimal.
 
 
10 hours later…
11:56 PM
Yo
 

« first day (3668 days earlier)      last day (1265 days later) »