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