Commit c99ab08a authored by Simon Byrne's avatar Simon Byrne Committed by GitHub

Merge pull request #173 from pkofod/patch-1

Minor typo in expm1 comment
parents b2520473 3db5e546
......@@ -147,7 +147,7 @@ expm1(double x)
GET_LOW_WORD(low,x);
if(((hx&0xfffff)|low)!=0)
return x+x; /* NaN */
else return (xsb==0)? x:-1.0;/* exp(+-inf)={inf,-1} */
else return (xsb==0)? x:-1.0;/* exp(+-inf)-1={inf,-1} */
}
if(x > o_threshold) return huge*huge; /* overflow */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment