mirror of
https://github.com/fluencelabs/musl
synced 2025-06-25 20:51:53 +00:00
math: fix fmodl for IEEE binary128
This trivial copy-paste bug went unnoticed due to lack of testing. No currently supported target archs are affected.
This commit is contained in:
@ -63,7 +63,7 @@ long double fmodl(long double x, long double y)
|
||||
xhi = (ux.i2.hi & -1ULL>>16) | 1ULL<<48;
|
||||
yhi = (uy.i2.hi & -1ULL>>16) | 1ULL<<48;
|
||||
xlo = ux.i2.lo;
|
||||
ylo = ux.i2.lo;
|
||||
ylo = uy.i2.lo;
|
||||
for (; ex > ey; ex--) {
|
||||
hi = xhi - yhi;
|
||||
lo = xlo - ylo;
|
||||
|
Reference in New Issue
Block a user