[Numpy-discussion] IEEE floating point arithmetics

lorenzo bolla lbolla at gmail.com
Sat May 26 12:44:32 EDT 2007


Hi all.
I have to work with floating point arithmetics and I found a module called
"double module" (http://symptotic.com/mj/double/public/double-module.html)
that does what I'd like. Basically, I would like to find the nearest smaller
and bigger floating point numbers, given a "real" real number (the function
doubleToLongBits<http://symptotic.com/mj/double/public/double-module.html#doubleToLongBits>
can
be used to do just that.).
Is there something similar in numpy?
In other words: is there a way, in numpy, to convert a floating point number
to its binary representation and back?
Thank you and regards,
L.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20070526/ae7224aa/attachment.html>


More information about the NumPy-Discussion mailing list