summaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
Diffstat (limited to 'src/math')
-rw-r--r--src/math/acosh.c2
-rw-r--r--src/math/asinh.c2
-rw-r--r--src/math/atanh.c2
-rw-r--r--src/math/copysign.c2
-rw-r--r--src/math/nan.c1
-rw-r--r--src/math/nearbyint.c2
-rw-r--r--src/math/remquo.c1
-rw-r--r--src/math/tgamma.c2
-rw-r--r--src/math/trunc.c2
9 files changed, 9 insertions, 7 deletions
diff --git a/src/math/acosh.c b/src/math/acosh.c
index 291087b2..aeb15816 100644
--- a/src/math/acosh.c
+++ b/src/math/acosh.c
@@ -4,7 +4,7 @@
TYPE TGFN(acosh)(TYPE x)
{
- return 0.0;
+ return x;
}
/*
diff --git a/src/math/asinh.c b/src/math/asinh.c
index 08700a25..421f574d 100644
--- a/src/math/asinh.c
+++ b/src/math/asinh.c
@@ -4,7 +4,7 @@
TYPE TGFN(asinh)(TYPE x)
{
- return 0.0;
+ return x;
}
/*
diff --git a/src/math/atanh.c b/src/math/atanh.c
index e99a26b7..eef1cfc6 100644
--- a/src/math/atanh.c
+++ b/src/math/atanh.c
@@ -4,7 +4,7 @@
TYPE TGFN(atanh)(TYPE x)
{
- return 0.0;
+ return x;
}
/*
diff --git a/src/math/copysign.c b/src/math/copysign.c
index 6e5cb127..a462348b 100644
--- a/src/math/copysign.c
+++ b/src/math/copysign.c
@@ -4,7 +4,7 @@
TYPE TGFN(copysign)(TYPE x, TYPE y)
{
- return 0.0;
+ return x - y;
}
/*
diff --git a/src/math/nan.c b/src/math/nan.c
index c5615b98..bd0cbbc4 100644
--- a/src/math/nan.c
+++ b/src/math/nan.c
@@ -4,6 +4,7 @@
TYPE TGFN(nan)(const char *tagp)
{
+ (void)tagp;
return 0.0;
}
diff --git a/src/math/nearbyint.c b/src/math/nearbyint.c
index c3994a62..d5d2cc21 100644
--- a/src/math/nearbyint.c
+++ b/src/math/nearbyint.c
@@ -4,7 +4,7 @@
TYPE TGFN(nearbyint)(TYPE x)
{
- return 0.0;
+ return x;
}
/*
diff --git a/src/math/remquo.c b/src/math/remquo.c
index 88e59c0f..7a117ba7 100644
--- a/src/math/remquo.c
+++ b/src/math/remquo.c
@@ -4,6 +4,7 @@
TYPE TGFN(remquo)(TYPE x, TYPE y, int *quo)
{
+ (void)quo;
return x - y;
}
diff --git a/src/math/tgamma.c b/src/math/tgamma.c
index 25778059..b80584ac 100644
--- a/src/math/tgamma.c
+++ b/src/math/tgamma.c
@@ -4,7 +4,7 @@
TYPE TGFN(tgamma)(TYPE x)
{
- return 0.0;
+ return x;
}
/*
diff --git a/src/math/trunc.c b/src/math/trunc.c
index 77671f5d..4b1081a6 100644
--- a/src/math/trunc.c
+++ b/src/math/trunc.c
@@ -4,7 +4,7 @@
TYPE TGFN(trunc)(TYPE x)
{
- return 0.0;
+ return x;
}
/*