[SciPy-dev] Strange fastumath behavior.

Travis Oliphant oliphant.travis at ieee.org
Mon Jan 14 18:35:02 EST 2002


After recently installing the new SciPy, I'm getting very strange behavior 
with the function sqrt() in fastumath.so for floating point numbers.

With an old installation I get

>>> sqrt(10) 
3.1622776601683795

However, with the new version I get

>>> sqrt(10)
9.1706675698104778


I have no idea what changed in fastumath to cause this.  It seems more like 
compiler flags that changed and are now causing incorrect results.  I'm just 
not sure.

Any ideas what could have caused this?

-Travis



More information about the SciPy-Dev mailing list