Hello,

Is there somewhere a (clear) doc about float/double internals?
Some more particuliar questions:

What is the internal bit layout? (mantissa, sign, exponent)

Can I assume the "integral range" is [-2^(m-1) .. 2^⁽m-1)-1], where m is the number of mantissa bits?

What are the values used to represent thingies like NaNs, inf, error? (Or are there not represented as values?)

How would you get a float's integral and fractional parts without performing arithmetic? (I think at bit ops, indeed)


Denis
_________________
vita es estrany
spir.wikidot.com

Reply via email to