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

Charles R Harris charlesr.harris at gmail.com
Thu Aug 27 14:50:14 EDT 2009


2009/8/27 Nadav Horesh <nadavh at 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.python.org/pipermail/numpy-discussion/attachments/20090827/110f2fb9/attachment.html>


More information about the NumPy-Discussion mailing list