id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
4228,atanh (-1) returns NaN instead of -Infinity,sbroadhead,,"According to the man page for libc's atanh:

If x is +1 or -1, a pole error occurs, and the functions return HUGE_VAL, HUGE_VALF, or HUGE_VALL, respectively, with the mathematically correct sign.

{{{atanh 1}}} correctly returns Infinity, but {{{atanh (-1)}}} returns NaN instead of -Infinity. A C program compiled on the same system gives the correct result.",bug,closed,normal,7.0.1,Prelude,6.12.1,fixed,,ghc@…,Unknown/Multiple,Unknown/Multiple,Incorrect result at runtime,,,,,
