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