aboutsummaryrefslogtreecommitdiff
path: root/tests2/24_math_library.c
diff options
context:
space:
mode:
authorgrischka <grischka>2013-02-05 13:22:36 +0100
committergrischka <grischka>2013-02-05 13:22:36 +0100
commit60cf64612c1d0a94c15eed3243ef869356e81d79 (patch)
treea6992817cbf301c93c56925b27c15c22fd1290d4 /tests2/24_math_library.c
parent6c4d3244dacbf8dfd53deaed81b8b61d00714f37 (diff)
downloadtinycc-60cf64612c1d0a94c15eed3243ef869356e81d79.tar.gz
tinycc-60cf64612c1d0a94c15eed3243ef869356e81d79.tar.bz2
tests2: move into tests
Diffstat (limited to 'tests2/24_math_library.c')
-rw-r--r--tests2/24_math_library.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests2/24_math_library.c b/tests2/24_math_library.c
deleted file mode 100644
index 4cc3d9e..0000000
--- a/tests2/24_math_library.c
+++ /dev/null
@@ -1,28 +0,0 @@
-#include <stdio.h>
-#include <math.h>
-
-int main()
-{
- printf("%f\n", sin(0.12));
- printf("%f\n", cos(0.12));
- printf("%f\n", tan(0.12));
- printf("%f\n", asin(0.12));
- printf("%f\n", acos(0.12));
- printf("%f\n", atan(0.12));
- printf("%f\n", sinh(0.12));
- printf("%f\n", cosh(0.12));
- printf("%f\n", tanh(0.12));
- printf("%f\n", exp(0.12));
- printf("%f\n", fabs(-0.12));
- printf("%f\n", log(0.12));
- printf("%f\n", log10(0.12));
- printf("%f\n", pow(0.12, 0.12));
- printf("%f\n", sqrt(0.12));
- printf("%f\n", round(12.34));
- printf("%f\n", ceil(12.34));
- printf("%f\n", floor(12.34));
-
- return 0;
-}
-
-/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/