I tested this on a cygwin system and found a cutoff point of 134217729
transcript:
The last number that woks is 134217729, or 0b1000000000000000000000000001 or 0x8000001 , which is interesting... If there was some sort of precision problem I would have expected it to fail 2 numbers before where it does. (i.e. would have expect last number that works to be 0x7999999

$ echo 134217727kKp|dc
134217727

$ echo 134217728kKp|dc
134217728

$ echo 134217729kKp|dc
134217729

$ echo 134217730kKp|dc
0

$ echo 134217731kKp|dc
0

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to