in reply to Interesting Mistake

Check for references.

UPDATE: The number you got in essence is the complement of 0 which btw is also the unsigned integer capacity of your 32-bit machine.

print ~0,"\n"; print 2**32 - 1,"\n"; printf "%e",~0,"\n";


Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.