summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/mingwex/math_stubs.c
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-06-13 10:20:48 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-06-13 10:20:48 +0000
commitdc8971488e7c174ab4084cbdb0a8f12c39b738d7 (patch)
treed679387fa379b6d5feb9756bdd7237347614453b /winsup/mingw/mingwex/math_stubs.c
parent5f74ae83e5fba1ceb73a8d822cbe2b48c619127f (diff)
downloadcygnal-dc8971488e7c174ab4084cbdb0a8f12c39b738d7.tar.gz
cygnal-dc8971488e7c174ab4084cbdb0a8f12c39b738d7.tar.bz2
cygnal-dc8971488e7c174ab4084cbdb0a8f12c39b738d7.zip
* include/_mingw.h: Increment version to 2.0.
* Makefile.in: Ditto. Merge in mingwex branch.
Diffstat (limited to 'winsup/mingw/mingwex/math_stubs.c')
-rw-r--r--winsup/mingw/mingwex/math_stubs.c12
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);}
+