
Hey Numpy people! Do anyone know how to disable underflow exception errors in Numeric? I have a lot of these in my code. It is now a very important problem in my calculations. The only solution I see is to make a for loop and make the arithmetic in python instead of Numeric. Thanks for your help, Jean-Bernard Python 2.0 (#9, Feb 2 2001, 12:17:02) [GCC 2.95.2 19991024 (release)] on linux2 Type "copyright", "credits" or "license" for more information. Hello from .pythonrc.py

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@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 -------------------------------------------------------------------------------

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@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 -------------------------------------------------------------------------------
participants (2)
-
Jean-Bernard Addor
-
Konrad Hinsen