aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/test/main.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/apps/test/main.c b/apps/test/main.c
index 5407ee6..b0806cf 100644
--- a/apps/test/main.c
+++ b/apps/test/main.c
@@ -176,19 +176,19 @@ TEST(list)
TEST(math)
{
- EQUALS(pow(2, 3), 8.0);
-
- EQUALS_APPROX(sqrt(2), 1.4142135);
- EQUALS(sqrt(-2), 0.0); // Well...
-
- EQUALS_APPROX(sin(M_PI), 0.0);
- EQUALS_APPROX(sin(1234), 0.601928);
- EQUALS_APPROX(cos(1234), -0.798551);
- EQUALS_APPROX(tan(1234), -0.753775);
- EQUALS_APPROX(sqrt(1234), 35.128336);
- EQUALS_APPROX(sin(-1), -0.8414709848078965);
- EQUALS_APPROX(cos(-1), 0.5403023058681398);
- EQUALS_APPROX(tan(-1), -1.5574077246549023);
+ EQUALS(mpow(2, 3), 8.0);
+
+ EQUALS_APPROX(msqrt(2), 1.4142135);
+ EQUALS(msqrt(-2), 0.0); // Well...
+
+ EQUALS_APPROX(msin(M_PI), 0.0);
+ EQUALS_APPROX(msin(1234), 0.601928);
+ EQUALS_APPROX(mcos(1234), -0.798551);
+ EQUALS_APPROX(mtan(1234), -0.753775);
+ EQUALS_APPROX(msqrt(1234), 35.128336);
+ EQUALS_APPROX(msin(-1), -0.8414709848078965);
+ EQUALS_APPROX(mcos(-1), 0.5403023058681398);
+ EQUALS_APPROX(mtan(-1), -1.5574077246549023);
}
TEST(mem)