diff options
Diffstat (limited to 'winsup/mingw/mingwex/math_stubs.c')
-rw-r--r-- | winsup/mingw/mingwex/math_stubs.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/winsup/mingw/mingwex/math_stubs.c b/winsup/mingw/mingwex/math_stubs.c new file mode 100644 index 000000000..225439846 --- /dev/null +++ b/winsup/mingw/mingwex/math_stubs.c @@ -0,0 +1,12 @@ +
+#include <math.h>
+
+double copysign (double x, double y) {return _copysign(x, y);}
+float copysignf (float x, float y) {return _copysign(x, y);}
+double logb (double x) {return _logb(x);}
+float logbf (float x) {return _logb( x );}
+double nextafter(double x, double y) {return _nextafter(x, y);}
+float nextafterf(float x, float y) {return _nextafter(x, y);}
+double scalb (double x, long i) {return _scalb (x, i);}
+float scalbf (float x, long i) {return _scalb(x, i);}
+
|