Re: Trying to use gdb on OS X

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

The number stored in a double doesn't necessarily fit into a 64-bit integer. Remember, part of the double precision floating point value is an exponent.

Yes, I know this, and I thought that I had addressed it a couple of times unless I'm missing some other point.

Currently 32-bit Euphoria has 29-bit integers, and it can perform bitwise operations on integers up to 32 bits in size. Bitwise operations on integers larger than 32 bits produce incorrect results.

Integers which are between 30 and 32 bits in size are stored as doubles.

It's 31-bit. (Actually, it's 4 separate integer types, each which holds 29-bit values, but which when counted together map up to a full 31 unique bits. Roughly speaking, it's like we have one integer type to represent all positive integers and another to represent all negative integers, or something.)

Only 32bit values should need to be stored as doubles.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu