summaryrefslogtreecommitdiff
path: root/src/math/scalbn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/scalbn.c')
-rw-r--r--src/math/scalbn.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/math/scalbn.c b/src/math/scalbn.c
new file mode 100644
index 00000000..3bbaa431
--- /dev/null
+++ b/src/math/scalbn.c
@@ -0,0 +1,13 @@
+# define TGSOURCE "scalbn.c"
+#include "nonstd/tgmath.h"
+#include <math.h>
+
+TYPE TGFN(scalbn)(TYPE x, int n)
+{
+ return x - n;
+}
+
+/*
+STDC(199901)
+LINK(m)
+*/