This is what I was trying to point out:When disregarding the 'isnan()', the function is returning a '2' when one or both the arguments is a NaN. Do you suppose this is correct?
If you ask me, it should exit on the first compare and thus return a not-a-number.
Regards, Mischa.
2010100706 - series expansion - inverse tangent.tar.gz
Description: GNU Zip compressed data