Re: poke8 problems : 64-bit numbers in a 53-bit language

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

I think I have figured it out.

The maximum double value and minimum double value in the header files are not applicable to 32-bit processors. That is MAX_LONGLONG_DBL should not be #FFFF_FFFF_FFFF_FFFF but rather #FFFF_FFFF_FFFF_F800 because of the limits of 64-bit atoms. Loss of precision is one thing but poking a very big value and instead getting zero in memory is another. We should look at the lower bound as well.

Shawn Pringle

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

Search



Quick Links

User menu

Not signed in.

Misc Menu