projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add tests: math, udiv, stdio/memstream
[libc-test]
/
src
/
math
/
acos.c
diff --git a/src/math/acos.c
b/src/math/acos.c
new file mode 100644
(file)
index 0000000..
c38d7f2
--- /dev/null
+++ b/
src/math/acos.c
@@ -0,0
+1,12
@@
+#include "test.h"
+#include <math.h>
+
+void bench_acos(int N)
+{
+ int i;
+ volatile double y;
+
+ for (i = 0; i < N; i++) {
+ y = acos(0.3456);
+ }
+}