Re: bigint/bugnum library

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...

Actually, this was a major headache and the reason I never finished my 64bit port - all kinds of weird problems showed up when this assumption is broken.

Matt did it, but once he had the proof of concept he decided things would be easier as well for an atom to be able to hold all the integral values that the integer type can hold.

The problem comes from detecting when an integer should be promoted to a double, internally. As noted, you start losing granularity after 253-1 with a normal double. We could have made 64-bit integers be smaller than that, but that didn't seem like a great idea.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu