summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/math/fmal.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/math/fmal.c')
-rw-r--r--winsup/cygwin/math/fmal.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/winsup/cygwin/math/fmal.c b/winsup/cygwin/math/fmal.c
new file mode 100644
index 000000000..3d0eb020b
--- /dev/null
+++ b/winsup/cygwin/math/fmal.c
@@ -0,0 +1,12 @@
+/**
+ * This file has no copyright assigned and is placed in the Public Domain.
+ * This file is part of the mingw-w64 runtime package.
+ * No warranty is given; refer to the file DISCLAIMER.PD within this package.
+ */
+long double fmal ( long double _x, long double _y, long double _z);
+
+long double
+fmal ( long double _x, long double _y, long double _z)
+{
+ return ((_x * _y) + _z);
+}