Re: Largest/smallest atom
- Posted by jemima Oct 03, 2008
- 1010 views
mattlewis said...
jemima said...
mattlewis said...
These are the largest and smallest magnitude atoms (and their float64 representations):
1.7976931348623157e+308 {255,255,255,255,255,255,239,127}
In eu 3.1, there is no way to get these short of something like a float64 conversion.
Thanks, I would have replied sooner but it would not let me log on. Above is the +ve one I was after, anyone know the -ve one? I have no problem using a conversion from a sequence of 8 bytes.
It's the same number, just negative (just the sign bit is different in the floating point representation):
-1.7976931348623157e+308 {255,255,255,255,255,255,239,255}
Matt
Thanks Matt