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
/
llrintf.c
diff --git
a/src/math/llrintf.c
b/src/math/llrintf.c
index f06a3c278eaf91e00f6dabd89ee7b7652fc27fb1..96949a006ea88146af15d967fc01f90431e34d19 100644
(file)
--- a/
src/math/llrintf.c
+++ b/
src/math/llrintf.c
@@
-1,6
+1,8
@@
-#define type float
-#define roundit rintf
-#define dtype long long
-#define fn llrintf
+#include <math.h>
-#include "lrint.c"
+/* uses LLONG_MAX > 2^24, see comments in lrint.c */
+
+long long llrintf(float x)
+{
+ return rintf(x);
+}