[Numpy-discussion] underflow array([2.9e-131])**3

Konrad Hinsen hinsen at cnrs-orleans.fr
Tue Jun 12 05:54:41 EDT 2001


> Do anyone know how to disable underflow exception errors in Numeric?

The problem is not in Numeric, it is the C library that decides
whether underflows should be considered errors or not. The Python
interpreter has some workarounds, but Numeric has not. I had the same
problems you describe under AIX, where I solved them by linking to a
different version of the math library. But I don't think there is
a platform-independent solution.

Konrad.
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                            | E-Mail: hinsen at cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24
Rue Charles Sadron                       | Fax:  +33-2.38.63.15.17
45071 Orleans Cedex 2                    | Deutsch/Esperanto/English/
France                                   | Nederlands/Francais
-------------------------------------------------------------------------------




More information about the NumPy-Discussion mailing list