[SciPy-dev] numpy.float128 absence yield bugs

dmitrey dmitrey.kroshko@scipy....
Mon Mar 10 07:44:29 CDT 2008


hi all,
if numpy.float128 type is absent (BTW does it related to OS or something 
else?), it yields bugs even if the type is never used (while importing 
from a py-file). For example:

from numpy import ..., float64, float128
if (some_cond):
    <use float128>
else: <use float64>

So numpy turns out not being 100% cross-platform.
Maybe it would be better to raise a warning like "float128 is absent, 
float64 will be used instead"?

Or, better, implement float128 being always present at all? (I.e. 
connect a library that will take care of float128 type provided native 
machine support is absent)?

Regars, D.



More information about the Scipy-dev mailing list