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.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/math/trunc.c b/src/math/trunc.c
new file mode 100644
index 00000000..d047d7f8
--- /dev/null
+++ b/src/math/trunc.c
@@ -0,0 +1,13 @@
+# define TGSOURCE "trunc.c"
+#include "nonstd/tgmath.h"
+#include <math.h>
+
+TYPE TGFN(trunc)(TYPE x)
+{
+ return 0.0;
+}
+
+/*
+STDC(199901)
+LINK(m)
+*/