projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use alternate formula for acos asm to avoid loss of precision
[oweals/musl.git]
/
src
/
math
/
lrintl.c
diff --git
a/src/math/lrintl.c
b/src/math/lrintl.c
index 0e579bc51c9a4066e7a0b197614c6f9ad6a458b2..5eb1ba7edbb24b241b0ee2aa432618f8c029a0d1 100644
(file)
--- a/
src/math/lrintl.c
+++ b/
src/math/lrintl.c
@@
-8,7
+8,7
@@
long lrintl(long double x)
{
return lrint(x);
}
-#el
se
+#el
if defined(FE_INEXACT)
/*
see comments in lrint.c
@@
-27,4
+27,9
@@
long lrintl(long double x)
/* conversion */
return x;
}
+#else
+long lrintl(long double x)
+{
+ return rintl(x);
+}
#endif