3 Apr
2017
3 Apr
'17
8:52 p.m.
You may benefit from standard functions frexp and ldexp, unless the performance is critical. Leo On Apr 3, 2017 1:52 PM, "Henry Baker" <hbaker1@pipeline.com> wrote: Is there a name for the function that simply kills all of the bits of precision from an IEEE floating point number, leaving it as a simple power of 2 ? For a big-endian machine, pick up the 32 bits of the IEEE32 float and AND it with -2^23. Or pick up 64 bits of IEEE64 float and AND it with -2^52. _______________________________________________ math-fun mailing list math-fun@mailman.xmission.com https://mailman.xmission.com/cgi-bin/mailman/listinfo/math-fun