[Python-Dev] Why is nan != nan?
Maciej Fijalkowski
fijall at gmail.com
Fri Mar 26 02:31:57 CET 2010
> -1 = -1
> implies log(-1) = log(-1)
Mathematically speaking this is incorrect.
x = y
implies
log(x) = log(y)
for x > 0 and y > 0
Cheers,
fijal
More information about the Python-Dev
mailing list