Hi All,
My problem is that I've noticed a strange behavior in Python while handling
FPEs on Windows after switching compilers (msvc8 to msvc9) and I am trying to
find out how Python handles INF values to figure out where the problem might
be.
The problem appeared when we noticed that be
> Numeric.log10() will check to see if the errno was set to ERANGE. It does not
> check if a floating point exception flag was set, which is tricky to do
> across
> platforms. The newer numpy can do it because we've finally managed to
> implement
> all of that platform-specific code, but the e
>> (I also noticed that this behavior is same under standard NumPy 1.4
>> with standard Python 2.6 on Windows. If you call numpy.log10(0.0) you
>> will get an "-inf" and no exceptions will be raised. Which is not the
>> case with Python's standard math.log10(0.0) which will raise a
>> ValueErro