projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
release notes for 0.9.4
[musl]
/
src
/
math
/
llrintf.c
diff --git
a/src/math/llrintf.c
b/src/math/llrintf.c
index
f06a3c2
..
96949a0
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);
+}