[Numpy-discussion] What type should / return in python 3k whenapplied to two integer types?

Charles R Harris charlesr.harris@gmail....
Thu Aug 27 13:50:14 CDT 2009


2009/8/27 Nadav Horesh <nadavh@visionsense.com>

> Double is the natural choice, there is a possibility of long double
> (float96 on x86 or float128 on amd64) where there is no precision loss. Is
> this option portable?


Not really. The long double type can be a bit weird and varies from
architecture to architecture.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090827/110f2fb9/attachment.html 


More information about the NumPy-Discussion mailing list