mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 20:43:41 +01:00
Merge pull request #173 from pkofod/patch-1
Minor typo in expm1 comment
This commit is contained in:
commit
c99ab08afe
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue