mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
Issue #1291 - Part 3: Update fdlibm to Sept 2019 version
This commit is contained in:
parent
b6c0bdd7da
commit
ddb1aaaee3
16 changed files with 163 additions and 102 deletions
|
|
@ -187,7 +187,7 @@ expm1(double x)
|
|||
e = hxs*((r1-t)/(6.0 - x*t));
|
||||
if(k==0) return x - (x*e-hxs); /* c is 0 */
|
||||
else {
|
||||
INSERT_WORDS(twopk,0x3ff00000+(k<<20),0); /* 2^k */
|
||||
INSERT_WORDS(twopk,((u_int32_t)(0x3ff+k))<<20,0); /* 2^k */
|
||||
e = (x*(e-c)-c);
|
||||
e -= hxs;
|
||||
if(k== -1) return 0.5*(x-e)-0.5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue