[Numpy-discussion] Portable functions for nans, signbit, etc.

Charles R Harris charlesr.harris@gmail....
Thu Oct 2 08:31:29 CDT 2008

On Thu, Oct 2, 2008 at 2:41 AM, David Cournapeau <cournape@gmail.com> wrote:

> On Thu, Oct 2, 2008 at 11:41 AM, Charles R Harris
> <charlesr.harris@gmail.com> wrote:
> >
> > Which is rather clever. I think binary_cast will require some pointer
> abuse.
> Yep (the funny thing is that the bit twiddling will likely end up more
> readable than this C++ stuff)

The zip file has the bit twiddling, which is worth looking at if only for
the note on the PPC extended precision. Motorola seems to  be a problem but
I don't think we support any of the 66xx series.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20081002/3c8f6dd4/attachment.html 

More information about the Numpy-discussion mailing list