softmath: Add ldexp
diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index 90567df..167d4a7 100644
--- a/mingw-w64-crt/Makefile.am
+++ b/mingw-w64-crt/Makefile.am
@@ -237,7 +237,7 @@
   math/fmal.c           math/fmax.c        math/fmaxf.c          math/fmaxl.c         math/fmin.c          math/fminf.c         \
   math/fminl.c          math/fmodl.c       math/fp_consts.c      math/fp_constsf.c    \
   math/fp_constsl.c     math/fpclassify.c  math/fpclassifyf.c    math/fpclassifyl.c   math/frexpf.c        math/fucom.c         \
-  math/hypotf.c         math/hypotl.c      math/isnan.c          math/isnanf.c        math/isnanl.c        math/ldexp.c         \
+  math/hypotf.c         math/hypotl.c      math/isnan.c          math/isnanf.c        math/isnanl.c        \
   math/ldexpf.c         math/ldexpl.c      math/lgamma.c         math/lgammaf.c       math/lgammal.c       math/llrint.c        \
   math/signgam.c \
   math/llrintf.c        math/llrintl.c     math/llround.c        math/llroundf.c      math/llroundl.c      math/log.c           \
@@ -300,9 +300,10 @@
   math/asinhf.c             math/atan2f.c             math/atanf.c              math/atanh.c              math/atanhf.c             \
   math/cos.c                math/cosf.c               math/cossin.c             math/exp.c                math/exp2.S               \
   math/exp2f.S              math/expm1.c              math/expm1f.c             math/fmod.c               math/fmodf.c              \
-  math/ilogb.S              math/ilogbf.S             math/log1p.S              math/log1pf.S             math/log2.S               \
-  math/log2f.S              math/logb.c               math/logbf.c              math/remainder.S          math/remainderf.S         \
-  math/scalbn.S             math/scalbnf.S            math/sin.c                math/sinf.c               math/tanf.c
+  math/ilogb.S              math/ilogbf.S             math/ldexp.c              math/log1p.S              math/log1pf.S             \
+  math/log2.S               math/log2f.S              math/logb.c               math/logbf.c              math/remainder.S          \
+  math/remainderf.S         math/scalbn.S             math/scalbnf.S            math/sin.c                math/sinf.c               \
+  math/tanf.c
 
 # these only go into the 32 bit version:
 src_libmingwex32=\
@@ -310,9 +311,10 @@
   math/asinhf.c             math/atan2f.c             math/atanf.c              math/atanh.c              math/atanhf.c             \
   math/cos.c                math/cosf.c               math/cossin.c             math/exp.c                math/exp2.S               \
   math/exp2f.S              math/expm1.c              math/expm1f.c             math/fmod.c               math/fmodf.c              \
-  math/ilogb.S              math/ilogbf.S             math/log1p.S              math/log1pf.S             math/log2.S               \
-  math/log2f.S              math/logb.c               math/logbf.c              math/remainder.S          math/remainderf.S         \
-  math/scalbn.S             math/scalbnf.S            math/sin.c                math/sinf.c               math/tanf.c
+  math/ilogb.S              math/ilogbf.S             math/ldexp.c              math/log1p.S              math/log1pf.S             \
+  math/log2.S               math/log2f.S              math/logb.c               math/logbf.c              math/remainder.S          \
+  math/remainderf.S         math/scalbn.S             math/scalbnf.S            math/sin.c                math/sinf.c               \
+  math/tanf.c
 
 # these only go into the ARM32 version:
 src_libmingwexarm32=\
@@ -321,10 +323,10 @@
   math/softmath/asinhf.c    math/softmath/atan2f.c    math/softmath/atanf.c     math/softmath/atanh.c     math/softmath/atanhf.c    \
   math/softmath/cos.c       math/softmath/cosf.c      math/softmath/exp.c       math/softmath/exp2.c      math/softmath/exp2f.c     \
   math/softmath/expm1.c     math/softmath/expm1f.c    math/softmath/fmod.c      math/softmath/fmodf.c     math/softmath/ilogb.c     \
-  math/softmath/ilogbf.c    math/softmath/log1p.c     math/softmath/log1pf.c    math/softmath/log2.c      math/softmath/log2f.c     \
-  math/softmath/logb.c      math/softmath/logbf.c     math/softmath/remainder.c math/softmath/remainderf.c math/softmath/scalbn.c   \
-  math/softmath/scalbnf.c   math/softmath/sin.c       math/softmath/sincos.c    math/softmath/sincosf.c   math/softmath/sinf.c      \
-  math/softmath/tanf.c
+  math/softmath/ilogbf.c    math/softmath/ldexp.c     math/softmath/log1p.c     math/softmath/log1pf.c    math/softmath/log2.c      \
+  math/softmath/log2f.c     math/softmath/logb.c      math/softmath/logbf.c     math/softmath/remainder.c math/softmath/remainderf.c \
+  math/softmath/scalbn.c    math/softmath/scalbnf.c   math/softmath/sin.c       math/softmath/sincos.c    math/softmath/sincosf.c   \
+  math/softmath/sinf.c      math/softmath/tanf.c
 
 
 # These intrinsics are target independent:
diff --git a/mingw-w64-crt/Makefile.in b/mingw-w64-crt/Makefile.in
index 81156a8..09101b7 100644
--- a/mingw-w64-crt/Makefile.in
+++ b/mingw-w64-crt/Makefile.in
@@ -589,11 +589,11 @@
 	math/fp_consts.c math/fp_constsf.c math/fp_constsl.c \
 	math/fpclassify.c math/fpclassifyf.c math/fpclassifyl.c \
 	math/frexpf.c math/fucom.c math/hypotf.c math/hypotl.c \
-	math/isnan.c math/isnanf.c math/isnanl.c math/ldexp.c \
-	math/ldexpf.c math/ldexpl.c math/lgamma.c math/lgammaf.c \
-	math/lgammal.c math/llrint.c math/signgam.c math/llrintf.c \
-	math/llrintl.c math/llround.c math/llroundf.c math/llroundl.c \
-	math/log.c math/log10f.c math/logbl.c math/logf.c math/logl.c \
+	math/isnan.c math/isnanf.c math/isnanl.c math/ldexpf.c \
+	math/ldexpl.c math/lgamma.c math/lgammaf.c math/lgammal.c \
+	math/llrint.c math/signgam.c math/llrintf.c math/llrintl.c \
+	math/llround.c math/llroundf.c math/llroundl.c math/log.c \
+	math/log10f.c math/logbl.c math/logf.c math/logl.c \
 	math/lrint.c math/lrintf.c math/lrintl.c math/lround.c \
 	math/lroundf.c math/lroundl.c math/modf.c math/modff.c \
 	math/modfl.c math/nextafterf.c math/nextafterl.c \
@@ -670,16 +670,16 @@
 	math/atan2f.c math/atanf.c math/atanh.c math/atanhf.c \
 	math/cos.c math/cosf.c math/cossin.c math/exp.c math/exp2.S \
 	math/exp2f.S math/expm1.c math/expm1f.c math/fmod.c \
-	math/fmodf.c math/ilogb.S math/ilogbf.S math/log1p.S \
-	math/log1pf.S math/log2.S math/log2f.S math/logb.c \
-	math/logbf.c math/remainder.S math/remainderf.S math/scalbn.S \
-	math/scalbnf.S math/sin.c math/sinf.c math/tanf.c \
-	math/DFP/__fpclassifyd32.c math/DFP/__fpclassifyd64.c \
-	math/DFP/__fpclassifyd128.c math/DFP/__isnand32.c \
-	math/DFP/__isnand64.c math/DFP/__isnand128.c \
-	math/DFP/__signbitd32.c math/DFP/__signbitd64.c \
-	math/DFP/__signbitd128.c math/DFP/isinfd32.c \
-	math/DFP/isinfd64.c math/DFP/isinfd128.c
+	math/fmodf.c math/ilogb.S math/ilogbf.S math/ldexp.c \
+	math/log1p.S math/log1pf.S math/log2.S math/log2f.S \
+	math/logb.c math/logbf.c math/remainder.S math/remainderf.S \
+	math/scalbn.S math/scalbnf.S math/sin.c math/sinf.c \
+	math/tanf.c math/DFP/__fpclassifyd32.c \
+	math/DFP/__fpclassifyd64.c math/DFP/__fpclassifyd128.c \
+	math/DFP/__isnand32.c math/DFP/__isnand64.c \
+	math/DFP/__isnand128.c math/DFP/__signbitd32.c \
+	math/DFP/__signbitd64.c math/DFP/__signbitd128.c \
+	math/DFP/isinfd32.c math/DFP/isinfd64.c math/DFP/isinfd128.c
 am__objects_16 = crt/lib32_libmingwex_a-dllentry.$(OBJEXT) \
 	crt/lib32_libmingwex_a-dllmain.$(OBJEXT) \
 	complex/lib32_libmingwex_a-cabs.$(OBJEXT) \
@@ -828,7 +828,6 @@
 	math/lib32_libmingwex_a-isnan.$(OBJEXT) \
 	math/lib32_libmingwex_a-isnanf.$(OBJEXT) \
 	math/lib32_libmingwex_a-isnanl.$(OBJEXT) \
-	math/lib32_libmingwex_a-ldexp.$(OBJEXT) \
 	math/lib32_libmingwex_a-ldexpf.$(OBJEXT) \
 	math/lib32_libmingwex_a-ldexpl.$(OBJEXT) \
 	math/lib32_libmingwex_a-lgamma.$(OBJEXT) \
@@ -1078,6 +1077,7 @@
 	math/lib32_libmingwex_a-fmodf.$(OBJEXT) \
 	math/lib32_libmingwex_a-ilogb.$(OBJEXT) \
 	math/lib32_libmingwex_a-ilogbf.$(OBJEXT) \
+	math/lib32_libmingwex_a-ldexp.$(OBJEXT) \
 	math/lib32_libmingwex_a-log1p.$(OBJEXT) \
 	math/lib32_libmingwex_a-log1pf.$(OBJEXT) \
 	math/lib32_libmingwex_a-log2.$(OBJEXT) \
@@ -1726,11 +1726,11 @@
 	math/fp_consts.c math/fp_constsf.c math/fp_constsl.c \
 	math/fpclassify.c math/fpclassifyf.c math/fpclassifyl.c \
 	math/frexpf.c math/fucom.c math/hypotf.c math/hypotl.c \
-	math/isnan.c math/isnanf.c math/isnanl.c math/ldexp.c \
-	math/ldexpf.c math/ldexpl.c math/lgamma.c math/lgammaf.c \
-	math/lgammal.c math/llrint.c math/signgam.c math/llrintf.c \
-	math/llrintl.c math/llround.c math/llroundf.c math/llroundl.c \
-	math/log.c math/log10f.c math/logbl.c math/logf.c math/logl.c \
+	math/isnan.c math/isnanf.c math/isnanl.c math/ldexpf.c \
+	math/ldexpl.c math/lgamma.c math/lgammaf.c math/lgammal.c \
+	math/llrint.c math/signgam.c math/llrintf.c math/llrintl.c \
+	math/llround.c math/llroundf.c math/llroundl.c math/log.c \
+	math/log10f.c math/logbl.c math/logf.c math/logl.c \
 	math/lrint.c math/lrintf.c math/lrintl.c math/lround.c \
 	math/lroundf.c math/lroundl.c math/modf.c math/modff.c \
 	math/modfl.c math/nextafterf.c math/nextafterl.c \
@@ -1807,16 +1807,16 @@
 	math/atan2f.c math/atanf.c math/atanh.c math/atanhf.c \
 	math/cos.c math/cosf.c math/cossin.c math/exp.c math/exp2.S \
 	math/exp2f.S math/expm1.c math/expm1f.c math/fmod.c \
-	math/fmodf.c math/ilogb.S math/ilogbf.S math/log1p.S \
-	math/log1pf.S math/log2.S math/log2f.S math/logb.c \
-	math/logbf.c math/remainder.S math/remainderf.S math/scalbn.S \
-	math/scalbnf.S math/sin.c math/sinf.c math/tanf.c \
-	math/DFP/__fpclassifyd32.c math/DFP/__fpclassifyd64.c \
-	math/DFP/__fpclassifyd128.c math/DFP/__isnand32.c \
-	math/DFP/__isnand64.c math/DFP/__isnand128.c \
-	math/DFP/__signbitd32.c math/DFP/__signbitd64.c \
-	math/DFP/__signbitd128.c math/DFP/isinfd32.c \
-	math/DFP/isinfd64.c math/DFP/isinfd128.c
+	math/fmodf.c math/ilogb.S math/ilogbf.S math/ldexp.c \
+	math/log1p.S math/log1pf.S math/log2.S math/log2f.S \
+	math/logb.c math/logbf.c math/remainder.S math/remainderf.S \
+	math/scalbn.S math/scalbnf.S math/sin.c math/sinf.c \
+	math/tanf.c math/DFP/__fpclassifyd32.c \
+	math/DFP/__fpclassifyd64.c math/DFP/__fpclassifyd128.c \
+	math/DFP/__isnand32.c math/DFP/__isnand64.c \
+	math/DFP/__isnand128.c math/DFP/__signbitd32.c \
+	math/DFP/__signbitd64.c math/DFP/__signbitd128.c \
+	math/DFP/isinfd32.c math/DFP/isinfd64.c math/DFP/isinfd128.c
 am__objects_49 = crt/lib64_libmingwex_a-dllentry.$(OBJEXT) \
 	crt/lib64_libmingwex_a-dllmain.$(OBJEXT) \
 	complex/lib64_libmingwex_a-cabs.$(OBJEXT) \
@@ -1965,7 +1965,6 @@
 	math/lib64_libmingwex_a-isnan.$(OBJEXT) \
 	math/lib64_libmingwex_a-isnanf.$(OBJEXT) \
 	math/lib64_libmingwex_a-isnanl.$(OBJEXT) \
-	math/lib64_libmingwex_a-ldexp.$(OBJEXT) \
 	math/lib64_libmingwex_a-ldexpf.$(OBJEXT) \
 	math/lib64_libmingwex_a-ldexpl.$(OBJEXT) \
 	math/lib64_libmingwex_a-lgamma.$(OBJEXT) \
@@ -2215,6 +2214,7 @@
 	math/lib64_libmingwex_a-fmodf.$(OBJEXT) \
 	math/lib64_libmingwex_a-ilogb.$(OBJEXT) \
 	math/lib64_libmingwex_a-ilogbf.$(OBJEXT) \
+	math/lib64_libmingwex_a-ldexp.$(OBJEXT) \
 	math/lib64_libmingwex_a-log1p.$(OBJEXT) \
 	math/lib64_libmingwex_a-log1pf.$(OBJEXT) \
 	math/lib64_libmingwex_a-log2.$(OBJEXT) \
@@ -2776,11 +2776,11 @@
 	math/fp_consts.c math/fp_constsf.c math/fp_constsl.c \
 	math/fpclassify.c math/fpclassifyf.c math/fpclassifyl.c \
 	math/frexpf.c math/fucom.c math/hypotf.c math/hypotl.c \
-	math/isnan.c math/isnanf.c math/isnanl.c math/ldexp.c \
-	math/ldexpf.c math/ldexpl.c math/lgamma.c math/lgammaf.c \
-	math/lgammal.c math/llrint.c math/signgam.c math/llrintf.c \
-	math/llrintl.c math/llround.c math/llroundf.c math/llroundl.c \
-	math/log.c math/log10f.c math/logbl.c math/logf.c math/logl.c \
+	math/isnan.c math/isnanf.c math/isnanl.c math/ldexpf.c \
+	math/ldexpl.c math/lgamma.c math/lgammaf.c math/lgammal.c \
+	math/llrint.c math/signgam.c math/llrintf.c math/llrintl.c \
+	math/llround.c math/llroundf.c math/llroundl.c math/log.c \
+	math/log10f.c math/logbl.c math/logf.c math/logl.c \
 	math/lrint.c math/lrintf.c math/lrintl.c math/lround.c \
 	math/lroundf.c math/lroundl.c math/modf.c math/modff.c \
 	math/modfl.c math/nextafterf.c math/nextafterl.c \
@@ -2864,19 +2864,20 @@
 	math/softmath/expm1.c math/softmath/expm1f.c \
 	math/softmath/fmod.c math/softmath/fmodf.c \
 	math/softmath/ilogb.c math/softmath/ilogbf.c \
-	math/softmath/log1p.c math/softmath/log1pf.c \
-	math/softmath/log2.c math/softmath/log2f.c \
-	math/softmath/logb.c math/softmath/logbf.c \
-	math/softmath/remainder.c math/softmath/remainderf.c \
-	math/softmath/scalbn.c math/softmath/scalbnf.c \
-	math/softmath/sin.c math/softmath/sincos.c \
-	math/softmath/sincosf.c math/softmath/sinf.c \
-	math/softmath/tanf.c math/DFP/__fpclassifyd32.c \
-	math/DFP/__fpclassifyd64.c math/DFP/__fpclassifyd128.c \
-	math/DFP/__isnand32.c math/DFP/__isnand64.c \
-	math/DFP/__isnand128.c math/DFP/__signbitd32.c \
-	math/DFP/__signbitd64.c math/DFP/__signbitd128.c \
-	math/DFP/isinfd32.c math/DFP/isinfd64.c math/DFP/isinfd128.c
+	math/softmath/ldexp.c math/softmath/log1p.c \
+	math/softmath/log1pf.c math/softmath/log2.c \
+	math/softmath/log2f.c math/softmath/logb.c \
+	math/softmath/logbf.c math/softmath/remainder.c \
+	math/softmath/remainderf.c math/softmath/scalbn.c \
+	math/softmath/scalbnf.c math/softmath/sin.c \
+	math/softmath/sincos.c math/softmath/sincosf.c \
+	math/softmath/sinf.c math/softmath/tanf.c \
+	math/DFP/__fpclassifyd32.c math/DFP/__fpclassifyd64.c \
+	math/DFP/__fpclassifyd128.c math/DFP/__isnand32.c \
+	math/DFP/__isnand64.c math/DFP/__isnand128.c \
+	math/DFP/__signbitd32.c math/DFP/__signbitd64.c \
+	math/DFP/__signbitd128.c math/DFP/isinfd32.c \
+	math/DFP/isinfd64.c math/DFP/isinfd128.c
 am__objects_78 = crt/libarm32_libmingwex_a-dllentry.$(OBJEXT) \
 	crt/libarm32_libmingwex_a-dllmain.$(OBJEXT) \
 	complex/libarm32_libmingwex_a-cabs.$(OBJEXT) \
@@ -3025,7 +3026,6 @@
 	math/libarm32_libmingwex_a-isnan.$(OBJEXT) \
 	math/libarm32_libmingwex_a-isnanf.$(OBJEXT) \
 	math/libarm32_libmingwex_a-isnanl.$(OBJEXT) \
-	math/libarm32_libmingwex_a-ldexp.$(OBJEXT) \
 	math/libarm32_libmingwex_a-ldexpf.$(OBJEXT) \
 	math/libarm32_libmingwex_a-ldexpl.$(OBJEXT) \
 	math/libarm32_libmingwex_a-lgamma.$(OBJEXT) \
@@ -3277,6 +3277,7 @@
 	math/softmath/libarm32_libmingwex_a-fmodf.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-ilogb.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-ilogbf.$(OBJEXT) \
+	math/softmath/libarm32_libmingwex_a-ldexp.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-log1p.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-log1pf.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-log2.$(OBJEXT) \
@@ -5121,7 +5122,7 @@
   math/fmal.c           math/fmax.c        math/fmaxf.c          math/fmaxl.c         math/fmin.c          math/fminf.c         \
   math/fminl.c          math/fmodl.c       math/fp_consts.c      math/fp_constsf.c    \
   math/fp_constsl.c     math/fpclassify.c  math/fpclassifyf.c    math/fpclassifyl.c   math/frexpf.c        math/fucom.c         \
-  math/hypotf.c         math/hypotl.c      math/isnan.c          math/isnanf.c        math/isnanl.c        math/ldexp.c         \
+  math/hypotf.c         math/hypotl.c      math/isnan.c          math/isnanf.c        math/isnanl.c        \
   math/ldexpf.c         math/ldexpl.c      math/lgamma.c         math/lgammaf.c       math/lgammal.c       math/llrint.c        \
   math/signgam.c \
   math/llrintf.c        math/llrintl.c     math/llround.c        math/llroundf.c      math/llroundl.c      math/log.c           \
@@ -5185,9 +5186,10 @@
   math/asinhf.c             math/atan2f.c             math/atanf.c              math/atanh.c              math/atanhf.c             \
   math/cos.c                math/cosf.c               math/cossin.c             math/exp.c                math/exp2.S               \
   math/exp2f.S              math/expm1.c              math/expm1f.c             math/fmod.c               math/fmodf.c              \
-  math/ilogb.S              math/ilogbf.S             math/log1p.S              math/log1pf.S             math/log2.S               \
-  math/log2f.S              math/logb.c               math/logbf.c              math/remainder.S          math/remainderf.S         \
-  math/scalbn.S             math/scalbnf.S            math/sin.c                math/sinf.c               math/tanf.c
+  math/ilogb.S              math/ilogbf.S             math/ldexp.c              math/log1p.S              math/log1pf.S             \
+  math/log2.S               math/log2f.S              math/logb.c               math/logbf.c              math/remainder.S          \
+  math/remainderf.S         math/scalbn.S             math/scalbnf.S            math/sin.c                math/sinf.c               \
+  math/tanf.c
 
 
 # these only go into the 32 bit version:
@@ -5196,9 +5198,10 @@
   math/asinhf.c             math/atan2f.c             math/atanf.c              math/atanh.c              math/atanhf.c             \
   math/cos.c                math/cosf.c               math/cossin.c             math/exp.c                math/exp2.S               \
   math/exp2f.S              math/expm1.c              math/expm1f.c             math/fmod.c               math/fmodf.c              \
-  math/ilogb.S              math/ilogbf.S             math/log1p.S              math/log1pf.S             math/log2.S               \
-  math/log2f.S              math/logb.c               math/logbf.c              math/remainder.S          math/remainderf.S         \
-  math/scalbn.S             math/scalbnf.S            math/sin.c                math/sinf.c               math/tanf.c
+  math/ilogb.S              math/ilogbf.S             math/ldexp.c              math/log1p.S              math/log1pf.S             \
+  math/log2.S               math/log2f.S              math/logb.c               math/logbf.c              math/remainder.S          \
+  math/remainderf.S         math/scalbn.S             math/scalbnf.S            math/sin.c                math/sinf.c               \
+  math/tanf.c
 
 
 # these only go into the ARM32 version:
@@ -5208,10 +5211,10 @@
   math/softmath/asinhf.c    math/softmath/atan2f.c    math/softmath/atanf.c     math/softmath/atanh.c     math/softmath/atanhf.c    \
   math/softmath/cos.c       math/softmath/cosf.c      math/softmath/exp.c       math/softmath/exp2.c      math/softmath/exp2f.c     \
   math/softmath/expm1.c     math/softmath/expm1f.c    math/softmath/fmod.c      math/softmath/fmodf.c     math/softmath/ilogb.c     \
-  math/softmath/ilogbf.c    math/softmath/log1p.c     math/softmath/log1pf.c    math/softmath/log2.c      math/softmath/log2f.c     \
-  math/softmath/logb.c      math/softmath/logbf.c     math/softmath/remainder.c math/softmath/remainderf.c math/softmath/scalbn.c   \
-  math/softmath/scalbnf.c   math/softmath/sin.c       math/softmath/sincos.c    math/softmath/sincosf.c   math/softmath/sinf.c      \
-  math/softmath/tanf.c
+  math/softmath/ilogbf.c    math/softmath/ldexp.c     math/softmath/log1p.c     math/softmath/log1pf.c    math/softmath/log2.c      \
+  math/softmath/log2f.c     math/softmath/logb.c      math/softmath/logbf.c     math/softmath/remainder.c math/softmath/remainderf.c \
+  math/softmath/scalbn.c    math/softmath/scalbnf.c   math/softmath/sin.c       math/softmath/sincos.c    math/softmath/sincosf.c   \
+  math/softmath/sinf.c      math/softmath/tanf.c
 
 
 # These intrinsics are target independent:
@@ -8409,8 +8412,6 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-isnanl.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
-math/lib32_libmingwex_a-ldexp.$(OBJEXT): math/$(am__dirstamp) \
-	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-ldexpf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-ldexpl.$(OBJEXT): math/$(am__dirstamp) \
@@ -8921,6 +8922,8 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-ilogbf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
+math/lib32_libmingwex_a-ldexp.$(OBJEXT): math/$(am__dirstamp) \
+	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-log1p.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-log1pf.$(OBJEXT): math/$(am__dirstamp) \
@@ -10035,8 +10038,6 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-isnanl.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
-math/lib64_libmingwex_a-ldexp.$(OBJEXT): math/$(am__dirstamp) \
-	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-ldexpf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-ldexpl.$(OBJEXT): math/$(am__dirstamp) \
@@ -10535,6 +10536,8 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-ilogbf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
+math/lib64_libmingwex_a-ldexp.$(OBJEXT): math/$(am__dirstamp) \
+	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-log1p.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-log1pf.$(OBJEXT): math/$(am__dirstamp) \
@@ -11524,8 +11527,6 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/libarm32_libmingwex_a-isnanl.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
-math/libarm32_libmingwex_a-ldexp.$(OBJEXT): math/$(am__dirstamp) \
-	math/$(DEPDIR)/$(am__dirstamp)
 math/libarm32_libmingwex_a-ldexpf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/libarm32_libmingwex_a-ldexpl.$(OBJEXT): math/$(am__dirstamp) \
@@ -12058,6 +12059,9 @@
 math/softmath/libarm32_libmingwex_a-ilogbf.$(OBJEXT):  \
 	math/softmath/$(am__dirstamp) \
 	math/softmath/$(DEPDIR)/$(am__dirstamp)
+math/softmath/libarm32_libmingwex_a-ldexp.$(OBJEXT):  \
+	math/softmath/$(am__dirstamp) \
+	math/softmath/$(DEPDIR)/$(am__dirstamp)
 math/softmath/libarm32_libmingwex_a-log1p.$(OBJEXT):  \
 	math/softmath/$(am__dirstamp) \
 	math/softmath/$(DEPDIR)/$(am__dirstamp)
@@ -14682,7 +14686,6 @@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-isnan.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-isnanf.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-isnanl.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-ldexpf.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-ldexpl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-lgamma.Po@am__quote@
@@ -14817,6 +14820,7 @@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-fmodf.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-ilogb.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-ilogbf.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-log1p.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-log1pf.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-log2.Po@am__quote@
@@ -21045,20 +21049,6 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib32_libmingwex_a-isnanl.obj `if test -f 'math/isnanl.c'; then $(CYGPATH_W) 'math/isnanl.c'; else $(CYGPATH_W) '$(srcdir)/math/isnanl.c'; fi`
 
-math/lib32_libmingwex_a-ldexp.o: math/ldexp.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib32_libmingwex_a-ldexp.o -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-ldexp.Tpo -c -o math/lib32_libmingwex_a-ldexp.o `test -f 'math/ldexp.c' || echo '$(srcdir)/'`math/ldexp.c
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-ldexp.Tpo math/$(DEPDIR)/lib32_libmingwex_a-ldexp.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/ldexp.c' object='math/lib32_libmingwex_a-ldexp.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib32_libmingwex_a-ldexp.o `test -f 'math/ldexp.c' || echo '$(srcdir)/'`math/ldexp.c
-
-math/lib32_libmingwex_a-ldexp.obj: math/ldexp.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib32_libmingwex_a-ldexp.obj -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-ldexp.Tpo -c -o math/lib32_libmingwex_a-ldexp.obj `if test -f 'math/ldexp.c'; then $(CYGPATH_W) 'math/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/math/ldexp.c'; fi`
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-ldexp.Tpo math/$(DEPDIR)/lib32_libmingwex_a-ldexp.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/ldexp.c' object='math/lib32_libmingwex_a-ldexp.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib32_libmingwex_a-ldexp.obj `if test -f 'math/ldexp.c'; then $(CYGPATH_W) 'math/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/math/ldexp.c'; fi`
-
 math/lib32_libmingwex_a-ldexpf.o: math/ldexpf.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib32_libmingwex_a-ldexpf.o -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-ldexpf.Tpo -c -o math/lib32_libmingwex_a-ldexpf.o `test -f 'math/ldexpf.c' || echo '$(srcdir)/'`math/ldexpf.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-ldexpf.Tpo math/$(DEPDIR)/lib32_libmingwex_a-ldexpf.Po
@@ -24391,6 +24381,20 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib32_libmingwex_a-fmodf.obj `if test -f 'math/fmodf.c'; then $(CYGPATH_W) 'math/fmodf.c'; else $(CYGPATH_W) '$(srcdir)/math/fmodf.c'; fi`
 
+math/lib32_libmingwex_a-ldexp.o: math/ldexp.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib32_libmingwex_a-ldexp.o -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-ldexp.Tpo -c -o math/lib32_libmingwex_a-ldexp.o `test -f 'math/ldexp.c' || echo '$(srcdir)/'`math/ldexp.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-ldexp.Tpo math/$(DEPDIR)/lib32_libmingwex_a-ldexp.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/ldexp.c' object='math/lib32_libmingwex_a-ldexp.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib32_libmingwex_a-ldexp.o `test -f 'math/ldexp.c' || echo '$(srcdir)/'`math/ldexp.c
+
+math/lib32_libmingwex_a-ldexp.obj: math/ldexp.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib32_libmingwex_a-ldexp.obj -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-ldexp.Tpo -c -o math/lib32_libmingwex_a-ldexp.obj `if test -f 'math/ldexp.c'; then $(CYGPATH_W) 'math/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/math/ldexp.c'; fi`
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-ldexp.Tpo math/$(DEPDIR)/lib32_libmingwex_a-ldexp.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/ldexp.c' object='math/lib32_libmingwex_a-ldexp.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib32_libmingwex_a-ldexp.obj `if test -f 'math/ldexp.c'; then $(CYGPATH_W) 'math/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/math/ldexp.c'; fi`
+
 math/lib32_libmingwex_a-logb.o: math/logb.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib32_libmingwex_a-logb.o -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-logb.Tpo -c -o math/lib32_libmingwex_a-logb.o `test -f 'math/logb.c' || echo '$(srcdir)/'`math/logb.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-logb.Tpo math/$(DEPDIR)/lib32_libmingwex_a-logb.Po
@@ -30159,20 +30163,6 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib64_libmingwex_a-isnanl.obj `if test -f 'math/isnanl.c'; then $(CYGPATH_W) 'math/isnanl.c'; else $(CYGPATH_W) '$(srcdir)/math/isnanl.c'; fi`
 
-math/lib64_libmingwex_a-ldexp.o: math/ldexp.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib64_libmingwex_a-ldexp.o -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-ldexp.Tpo -c -o math/lib64_libmingwex_a-ldexp.o `test -f 'math/ldexp.c' || echo '$(srcdir)/'`math/ldexp.c
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-ldexp.Tpo math/$(DEPDIR)/lib64_libmingwex_a-ldexp.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/ldexp.c' object='math/lib64_libmingwex_a-ldexp.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib64_libmingwex_a-ldexp.o `test -f 'math/ldexp.c' || echo '$(srcdir)/'`math/ldexp.c
-
-math/lib64_libmingwex_a-ldexp.obj: math/ldexp.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib64_libmingwex_a-ldexp.obj -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-ldexp.Tpo -c -o math/lib64_libmingwex_a-ldexp.obj `if test -f 'math/ldexp.c'; then $(CYGPATH_W) 'math/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/math/ldexp.c'; fi`
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-ldexp.Tpo math/$(DEPDIR)/lib64_libmingwex_a-ldexp.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/ldexp.c' object='math/lib64_libmingwex_a-ldexp.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib64_libmingwex_a-ldexp.obj `if test -f 'math/ldexp.c'; then $(CYGPATH_W) 'math/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/math/ldexp.c'; fi`
-
 math/lib64_libmingwex_a-ldexpf.o: math/ldexpf.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib64_libmingwex_a-ldexpf.o -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-ldexpf.Tpo -c -o math/lib64_libmingwex_a-ldexpf.o `test -f 'math/ldexpf.c' || echo '$(srcdir)/'`math/ldexpf.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-ldexpf.Tpo math/$(DEPDIR)/lib64_libmingwex_a-ldexpf.Po
@@ -33505,6 +33495,20 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib64_libmingwex_a-fmodf.obj `if test -f 'math/fmodf.c'; then $(CYGPATH_W) 'math/fmodf.c'; else $(CYGPATH_W) '$(srcdir)/math/fmodf.c'; fi`
 
+math/lib64_libmingwex_a-ldexp.o: math/ldexp.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib64_libmingwex_a-ldexp.o -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-ldexp.Tpo -c -o math/lib64_libmingwex_a-ldexp.o `test -f 'math/ldexp.c' || echo '$(srcdir)/'`math/ldexp.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-ldexp.Tpo math/$(DEPDIR)/lib64_libmingwex_a-ldexp.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/ldexp.c' object='math/lib64_libmingwex_a-ldexp.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib64_libmingwex_a-ldexp.o `test -f 'math/ldexp.c' || echo '$(srcdir)/'`math/ldexp.c
+
+math/lib64_libmingwex_a-ldexp.obj: math/ldexp.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib64_libmingwex_a-ldexp.obj -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-ldexp.Tpo -c -o math/lib64_libmingwex_a-ldexp.obj `if test -f 'math/ldexp.c'; then $(CYGPATH_W) 'math/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/math/ldexp.c'; fi`
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-ldexp.Tpo math/$(DEPDIR)/lib64_libmingwex_a-ldexp.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/ldexp.c' object='math/lib64_libmingwex_a-ldexp.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib64_libmingwex_a-ldexp.obj `if test -f 'math/ldexp.c'; then $(CYGPATH_W) 'math/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/math/ldexp.c'; fi`
+
 math/lib64_libmingwex_a-logb.o: math/logb.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib64_libmingwex_a-logb.o -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-logb.Tpo -c -o math/lib64_libmingwex_a-logb.o `test -f 'math/logb.c' || echo '$(srcdir)/'`math/logb.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-logb.Tpo math/$(DEPDIR)/lib64_libmingwex_a-logb.Po
@@ -38685,20 +38689,6 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/libarm32_libmingwex_a-isnanl.obj `if test -f 'math/isnanl.c'; then $(CYGPATH_W) 'math/isnanl.c'; else $(CYGPATH_W) '$(srcdir)/math/isnanl.c'; fi`
 
-math/libarm32_libmingwex_a-ldexp.o: math/ldexp.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/libarm32_libmingwex_a-ldexp.o -MD -MP -MF math/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Tpo -c -o math/libarm32_libmingwex_a-ldexp.o `test -f 'math/ldexp.c' || echo '$(srcdir)/'`math/ldexp.c
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Tpo math/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/ldexp.c' object='math/libarm32_libmingwex_a-ldexp.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/libarm32_libmingwex_a-ldexp.o `test -f 'math/ldexp.c' || echo '$(srcdir)/'`math/ldexp.c
-
-math/libarm32_libmingwex_a-ldexp.obj: math/ldexp.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/libarm32_libmingwex_a-ldexp.obj -MD -MP -MF math/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Tpo -c -o math/libarm32_libmingwex_a-ldexp.obj `if test -f 'math/ldexp.c'; then $(CYGPATH_W) 'math/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/math/ldexp.c'; fi`
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Tpo math/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/ldexp.c' object='math/libarm32_libmingwex_a-ldexp.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/libarm32_libmingwex_a-ldexp.obj `if test -f 'math/ldexp.c'; then $(CYGPATH_W) 'math/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/math/ldexp.c'; fi`
-
 math/libarm32_libmingwex_a-ldexpf.o: math/ldexpf.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/libarm32_libmingwex_a-ldexpf.o -MD -MP -MF math/$(DEPDIR)/libarm32_libmingwex_a-ldexpf.Tpo -c -o math/libarm32_libmingwex_a-ldexpf.o `test -f 'math/ldexpf.c' || echo '$(srcdir)/'`math/ldexpf.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/libarm32_libmingwex_a-ldexpf.Tpo math/$(DEPDIR)/libarm32_libmingwex_a-ldexpf.Po
@@ -42115,6 +42105,20 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/softmath/libarm32_libmingwex_a-ilogbf.obj `if test -f 'math/softmath/ilogbf.c'; then $(CYGPATH_W) 'math/softmath/ilogbf.c'; else $(CYGPATH_W) '$(srcdir)/math/softmath/ilogbf.c'; fi`
 
+math/softmath/libarm32_libmingwex_a-ldexp.o: math/softmath/ldexp.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/softmath/libarm32_libmingwex_a-ldexp.o -MD -MP -MF math/softmath/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Tpo -c -o math/softmath/libarm32_libmingwex_a-ldexp.o `test -f 'math/softmath/ldexp.c' || echo '$(srcdir)/'`math/softmath/ldexp.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/softmath/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Tpo math/softmath/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/softmath/ldexp.c' object='math/softmath/libarm32_libmingwex_a-ldexp.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/softmath/libarm32_libmingwex_a-ldexp.o `test -f 'math/softmath/ldexp.c' || echo '$(srcdir)/'`math/softmath/ldexp.c
+
+math/softmath/libarm32_libmingwex_a-ldexp.obj: math/softmath/ldexp.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/softmath/libarm32_libmingwex_a-ldexp.obj -MD -MP -MF math/softmath/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Tpo -c -o math/softmath/libarm32_libmingwex_a-ldexp.obj `if test -f 'math/softmath/ldexp.c'; then $(CYGPATH_W) 'math/softmath/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/math/softmath/ldexp.c'; fi`
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/softmath/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Tpo math/softmath/$(DEPDIR)/libarm32_libmingwex_a-ldexp.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/softmath/ldexp.c' object='math/softmath/libarm32_libmingwex_a-ldexp.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/softmath/libarm32_libmingwex_a-ldexp.obj `if test -f 'math/softmath/ldexp.c'; then $(CYGPATH_W) 'math/softmath/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/math/softmath/ldexp.c'; fi`
+
 math/softmath/libarm32_libmingwex_a-log1p.o: math/softmath/log1p.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/softmath/libarm32_libmingwex_a-log1p.o -MD -MP -MF math/softmath/$(DEPDIR)/libarm32_libmingwex_a-log1p.Tpo -c -o math/softmath/libarm32_libmingwex_a-log1p.o `test -f 'math/softmath/log1p.c' || echo '$(srcdir)/'`math/softmath/log1p.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/softmath/$(DEPDIR)/libarm32_libmingwex_a-log1p.Tpo math/softmath/$(DEPDIR)/libarm32_libmingwex_a-log1p.Po
diff --git a/mingw-w64-crt/math/softmath/ldexp.c b/mingw-w64-crt/math/softmath/ldexp.c
new file mode 100644
index 0000000..7c60792
--- /dev/null
+++ b/mingw-w64-crt/math/softmath/ldexp.c
@@ -0,0 +1,50 @@
+/*
+ This Software is provided under the Zope Public License (ZPL) Version 2.1.
+
+ Copyright (c) 2014 by the mingw-w64 project
+
+ See the AUTHORS file for the list of contributors to the mingw-w64 project.
+
+ This license has been certified as open source. It has also been designated
+ as GPL compatible by the Free Software Foundation (FSF).
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+   1. Redistributions in source code must retain the accompanying copyright
+      notice, this list of conditions, and the following disclaimer.
+   2. Redistributions in binary form must reproduce the accompanying
+      copyright notice, this list of conditions, and the following disclaimer
+      in the documentation and/or other materials provided with the
+      distribution.
+   3. Names of the copyright holders must not be used to endorse or promote
+      products derived from this software without prior written permission
+      from the copyright holders.
+   4. The right to distribute this software or to use it for any purpose does
+      not give you the right to use Servicemarks (sm) or Trademarks (tm) of
+      the copyright holders.  Use of them is covered by separate agreement
+      with the copyright holders.
+   5. If any files are modified, you must cause the modified files to carry
+      prominent notices stating that you changed the files and the date of
+      any change.
+
+ Disclaimer
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+ EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
+ OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+#include "softmath_private.h"
+
+double ldexp(double x, int exp)
+{
+    return x * bsd__ieee754_pow(2, exp);
+}