summaryrefslogtreecommitdiff
path: root/src/math/trunc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/trunc.c')
-rw-r--r--src/math/trunc.c2
1 files changed, 1 insertions, 1 deletions
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;
}
/*