softmath: Add atanh
diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index 7149a8c..4824697 100644
--- a/mingw-w64-crt/Makefile.am
+++ b/mingw-w64-crt/Makefile.am
@@ -228,7 +228,7 @@
   math/scalbnl.S        math/sinl_internal.S  math/tanl.S        math/trunc.S         math/truncf.S        \
   math/acoshl.c         math/acosl.c       \
   math/asinhl.c         math/asinl.c       math/atan2l.c         \
-  math/atanh.c          math/atanhl.c      math/atanl.c          math/cbrt.c          \
+  math/atanhl.c         math/atanl.c       math/cbrt.c           \
   math/cbrtf.c          math/cbrtl.c       math/cephes_emath.c   math/copysign.c      math/copysignf.c     math/cos.c           \
   math/coshf.c          math/coshl.c       math/cosl.c           math/cossin.c        math/erfl.c          \
   math/exp.c            math/expf.c        math/expl.c           math/expm1.c         math/expm1l.c        \
@@ -296,24 +296,27 @@
 # these only go into the 64 bit version:
 src_libmingwex64=\
   math/acosf.c              math/acosh.c              math/acoshf.c             math/asinf.c              math/asinh.c              \
-  math/asinhf.c             math/atan2f.c             math/atanf.c              math/atanhf.c             math/cosf.c               \
-  math/exp2f.S              math/expm1f.c             math/fmodf.c              math/ilogbf.S             math/log1pf.S             \
-  math/log2f.S              math/logbf.c              math/scalbnf.S            math/sinf.c               math/tanf.c
+  math/asinhf.c             math/atan2f.c             math/atanf.c              math/atanh.c              math/atanhf.c             \
+  math/cosf.c               math/exp2f.S              math/expm1f.c             math/fmodf.c              math/ilogbf.S             \
+  math/log1pf.S             math/log2f.S              math/logbf.c              math/scalbnf.S            math/sinf.c               \
+  math/tanf.c
 
 # these only go into the 32 bit version:
 src_libmingwex32=\
   math/acosf.c              math/acosh.c              math/acoshf.c             math/asinf.c              math/asinh.c              \
-  math/asinhf.c             math/atan2f.c             math/atanf.c              math/atanhf.c             math/cosf.c               \
-  math/exp2f.S              math/expm1f.c             math/fmodf.c              math/ilogbf.S             math/log1pf.S             \
-  math/log2f.S              math/logbf.c              math/scalbnf.S            math/sinf.c               math/tanf.c
+  math/asinhf.c             math/atan2f.c             math/atanf.c              math/atanh.c              math/atanhf.c             \
+  math/cosf.c               math/exp2f.S              math/expm1f.c             math/fmodf.c              math/ilogbf.S             \
+  math/log1pf.S             math/log2f.S              math/logbf.c              math/scalbnf.S            math/sinf.c               \
+  math/tanf.c
 
 # these only go into the ARM32 version:
 src_libmingwexarm32=\
   math/softmath/e_fmodf.c   math/softmath/e_powf.c    \
   math/softmath/acosf.c     math/softmath/acosh.c     math/softmath/acoshf.c    math/softmath/asinf.c     math/softmath/asinh.c     \
-  math/softmath/asinhf.c    math/softmath/atan2f.c    math/softmath/atanf.c     math/softmath/atanhf.c    math/softmath/cosf.c      \
-  math/softmath/exp2f.c     math/softmath/expm1f.c    math/softmath/fmodf.c     math/softmath/ilogbf.c    math/softmath/log1pf.c    \
-  math/softmath/log2f.c     math/softmath/logbf.c     math/softmath/scalbnf.c   math/softmath/sinf.c      math/softmath/tanf.c
+  math/softmath/asinhf.c    math/softmath/atan2f.c    math/softmath/atanf.c     math/softmath/atanh.c     math/softmath/atanhf.c    \
+  math/softmath/cosf.c      math/softmath/exp2f.c     math/softmath/expm1f.c    math/softmath/fmodf.c     math/softmath/ilogbf.c    \
+  math/softmath/log1pf.c    math/softmath/log2f.c     math/softmath/logbf.c     math/softmath/scalbnf.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 306a394..b7d7ca3 100644
--- a/mingw-w64-crt/Makefile.in
+++ b/mingw-w64-crt/Makefile.in
@@ -581,11 +581,11 @@
 	math/remquof.S math/remquol.S math/scalbn.S math/scalbnl.S \
 	math/sinl_internal.S math/tanl.S math/trunc.S math/truncf.S \
 	math/acoshl.c math/acosl.c math/asinhl.c math/asinl.c \
-	math/atan2l.c math/atanh.c math/atanhl.c math/atanl.c \
-	math/cbrt.c math/cbrtf.c math/cbrtl.c math/cephes_emath.c \
-	math/copysign.c math/copysignf.c math/cos.c math/coshf.c \
-	math/coshl.c math/cosl.c math/cossin.c math/erfl.c math/exp.c \
-	math/expf.c math/expl.c math/expm1.c math/expm1l.c math/fabs.c \
+	math/atan2l.c math/atanhl.c math/atanl.c math/cbrt.c \
+	math/cbrtf.c math/cbrtl.c math/cephes_emath.c math/copysign.c \
+	math/copysignf.c math/cos.c math/coshf.c math/coshl.c \
+	math/cosl.c math/cossin.c math/erfl.c math/exp.c math/expf.c \
+	math/expl.c math/expm1.c math/expm1l.c math/fabs.c \
 	math/fabsf.c math/fabsl.c math/fdim.c math/fdimf.c \
 	math/fdiml.c math/fmal.c math/fmax.c math/fmaxf.c math/fmaxl.c \
 	math/fmin.c math/fminf.c math/fminl.c math/fmod.c math/fmodl.c \
@@ -670,15 +670,16 @@
 	stdio/vwscanf.c stdio/wtoll.c stdio/mingw_asprintf.c \
 	stdio/mingw_vasprintf.c math/acosf.c math/acosh.c \
 	math/acoshf.c math/asinf.c math/asinh.c math/asinhf.c \
-	math/atan2f.c math/atanf.c math/atanhf.c math/cosf.c \
-	math/exp2f.S math/expm1f.c math/fmodf.c math/ilogbf.S \
-	math/log1pf.S math/log2f.S math/logbf.c math/scalbnf.S \
-	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/atan2f.c math/atanf.c math/atanh.c math/atanhf.c \
+	math/cosf.c math/exp2f.S math/expm1f.c math/fmodf.c \
+	math/ilogbf.S math/log1pf.S math/log2f.S math/logbf.c \
+	math/scalbnf.S 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) \
@@ -792,7 +793,6 @@
 	math/lib32_libmingwex_a-asinhl.$(OBJEXT) \
 	math/lib32_libmingwex_a-asinl.$(OBJEXT) \
 	math/lib32_libmingwex_a-atan2l.$(OBJEXT) \
-	math/lib32_libmingwex_a-atanh.$(OBJEXT) \
 	math/lib32_libmingwex_a-atanhl.$(OBJEXT) \
 	math/lib32_libmingwex_a-atanl.$(OBJEXT) \
 	math/lib32_libmingwex_a-cbrt.$(OBJEXT) \
@@ -1078,6 +1078,7 @@
 	math/lib32_libmingwex_a-asinhf.$(OBJEXT) \
 	math/lib32_libmingwex_a-atan2f.$(OBJEXT) \
 	math/lib32_libmingwex_a-atanf.$(OBJEXT) \
+	math/lib32_libmingwex_a-atanh.$(OBJEXT) \
 	math/lib32_libmingwex_a-atanhf.$(OBJEXT) \
 	math/lib32_libmingwex_a-cosf.$(OBJEXT) \
 	math/lib32_libmingwex_a-exp2f.$(OBJEXT) \
@@ -1715,11 +1716,11 @@
 	math/remquof.S math/remquol.S math/scalbn.S math/scalbnl.S \
 	math/sinl_internal.S math/tanl.S math/trunc.S math/truncf.S \
 	math/acoshl.c math/acosl.c math/asinhl.c math/asinl.c \
-	math/atan2l.c math/atanh.c math/atanhl.c math/atanl.c \
-	math/cbrt.c math/cbrtf.c math/cbrtl.c math/cephes_emath.c \
-	math/copysign.c math/copysignf.c math/cos.c math/coshf.c \
-	math/coshl.c math/cosl.c math/cossin.c math/erfl.c math/exp.c \
-	math/expf.c math/expl.c math/expm1.c math/expm1l.c math/fabs.c \
+	math/atan2l.c math/atanhl.c math/atanl.c math/cbrt.c \
+	math/cbrtf.c math/cbrtl.c math/cephes_emath.c math/copysign.c \
+	math/copysignf.c math/cos.c math/coshf.c math/coshl.c \
+	math/cosl.c math/cossin.c math/erfl.c math/exp.c math/expf.c \
+	math/expl.c math/expm1.c math/expm1l.c math/fabs.c \
 	math/fabsf.c math/fabsl.c math/fdim.c math/fdimf.c \
 	math/fdiml.c math/fmal.c math/fmax.c math/fmaxf.c math/fmaxl.c \
 	math/fmin.c math/fminf.c math/fminl.c math/fmod.c math/fmodl.c \
@@ -1804,15 +1805,16 @@
 	stdio/vwscanf.c stdio/wtoll.c stdio/mingw_asprintf.c \
 	stdio/mingw_vasprintf.c math/acosf.c math/acosh.c \
 	math/acoshf.c math/asinf.c math/asinh.c math/asinhf.c \
-	math/atan2f.c math/atanf.c math/atanhf.c math/cosf.c \
-	math/exp2f.S math/expm1f.c math/fmodf.c math/ilogbf.S \
-	math/log1pf.S math/log2f.S math/logbf.c math/scalbnf.S \
-	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/atan2f.c math/atanf.c math/atanh.c math/atanhf.c \
+	math/cosf.c math/exp2f.S math/expm1f.c math/fmodf.c \
+	math/ilogbf.S math/log1pf.S math/log2f.S math/logbf.c \
+	math/scalbnf.S 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) \
@@ -1926,7 +1928,6 @@
 	math/lib64_libmingwex_a-asinhl.$(OBJEXT) \
 	math/lib64_libmingwex_a-asinl.$(OBJEXT) \
 	math/lib64_libmingwex_a-atan2l.$(OBJEXT) \
-	math/lib64_libmingwex_a-atanh.$(OBJEXT) \
 	math/lib64_libmingwex_a-atanhl.$(OBJEXT) \
 	math/lib64_libmingwex_a-atanl.$(OBJEXT) \
 	math/lib64_libmingwex_a-cbrt.$(OBJEXT) \
@@ -2212,6 +2213,7 @@
 	math/lib64_libmingwex_a-asinhf.$(OBJEXT) \
 	math/lib64_libmingwex_a-atan2f.$(OBJEXT) \
 	math/lib64_libmingwex_a-atanf.$(OBJEXT) \
+	math/lib64_libmingwex_a-atanh.$(OBJEXT) \
 	math/lib64_libmingwex_a-atanhf.$(OBJEXT) \
 	math/lib64_libmingwex_a-cosf.$(OBJEXT) \
 	math/lib64_libmingwex_a-exp2f.$(OBJEXT) \
@@ -2763,11 +2765,11 @@
 	math/remquof.S math/remquol.S math/scalbn.S math/scalbnl.S \
 	math/sinl_internal.S math/tanl.S math/trunc.S math/truncf.S \
 	math/acoshl.c math/acosl.c math/asinhl.c math/asinl.c \
-	math/atan2l.c math/atanh.c math/atanhl.c math/atanl.c \
-	math/cbrt.c math/cbrtf.c math/cbrtl.c math/cephes_emath.c \
-	math/copysign.c math/copysignf.c math/cos.c math/coshf.c \
-	math/coshl.c math/cosl.c math/cossin.c math/erfl.c math/exp.c \
-	math/expf.c math/expl.c math/expm1.c math/expm1l.c math/fabs.c \
+	math/atan2l.c math/atanhl.c math/atanl.c math/cbrt.c \
+	math/cbrtf.c math/cbrtl.c math/cephes_emath.c math/copysign.c \
+	math/copysignf.c math/cos.c math/coshf.c math/coshl.c \
+	math/cosl.c math/cossin.c math/erfl.c math/exp.c math/expf.c \
+	math/expl.c math/expm1.c math/expm1l.c math/fabs.c \
 	math/fabsf.c math/fabsl.c math/fdim.c math/fdimf.c \
 	math/fdiml.c math/fmal.c math/fmax.c math/fmaxf.c math/fmaxl.c \
 	math/fmin.c math/fminf.c math/fminl.c math/fmod.c math/fmodl.c \
@@ -2855,18 +2857,19 @@
 	math/softmath/acosh.c math/softmath/acoshf.c \
 	math/softmath/asinf.c math/softmath/asinh.c \
 	math/softmath/asinhf.c math/softmath/atan2f.c \
-	math/softmath/atanf.c math/softmath/atanhf.c \
-	math/softmath/cosf.c math/softmath/exp2f.c \
-	math/softmath/expm1f.c math/softmath/fmodf.c \
-	math/softmath/ilogbf.c math/softmath/log1pf.c \
-	math/softmath/log2f.c math/softmath/logbf.c \
-	math/softmath/scalbnf.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/atanf.c math/softmath/atanh.c \
+	math/softmath/atanhf.c math/softmath/cosf.c \
+	math/softmath/exp2f.c math/softmath/expm1f.c \
+	math/softmath/fmodf.c math/softmath/ilogbf.c \
+	math/softmath/log1pf.c math/softmath/log2f.c \
+	math/softmath/logbf.c math/softmath/scalbnf.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) \
@@ -2980,7 +2983,6 @@
 	math/libarm32_libmingwex_a-asinhl.$(OBJEXT) \
 	math/libarm32_libmingwex_a-asinl.$(OBJEXT) \
 	math/libarm32_libmingwex_a-atan2l.$(OBJEXT) \
-	math/libarm32_libmingwex_a-atanh.$(OBJEXT) \
 	math/libarm32_libmingwex_a-atanhl.$(OBJEXT) \
 	math/libarm32_libmingwex_a-atanl.$(OBJEXT) \
 	math/libarm32_libmingwex_a-cbrt.$(OBJEXT) \
@@ -3269,6 +3271,7 @@
 	math/softmath/libarm32_libmingwex_a-asinhf.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-atan2f.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-atanf.$(OBJEXT) \
+	math/softmath/libarm32_libmingwex_a-atanh.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-atanhf.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-cosf.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-exp2f.$(OBJEXT) \
@@ -5099,7 +5102,7 @@
   math/scalbnl.S        math/sinl_internal.S  math/tanl.S        math/trunc.S         math/truncf.S        \
   math/acoshl.c         math/acosl.c       \
   math/asinhl.c         math/asinl.c       math/atan2l.c         \
-  math/atanh.c          math/atanhl.c      math/atanl.c          math/cbrt.c          \
+  math/atanhl.c         math/atanl.c       math/cbrt.c           \
   math/cbrtf.c          math/cbrtl.c       math/cephes_emath.c   math/copysign.c      math/copysignf.c     math/cos.c           \
   math/coshf.c          math/coshl.c       math/cosl.c           math/cossin.c        math/erfl.c          \
   math/exp.c            math/expf.c        math/expl.c           math/expm1.c         math/expm1l.c        \
@@ -5168,26 +5171,29 @@
 # these only go into the 64 bit version:
 src_libmingwex64 = \
   math/acosf.c              math/acosh.c              math/acoshf.c             math/asinf.c              math/asinh.c              \
-  math/asinhf.c             math/atan2f.c             math/atanf.c              math/atanhf.c             math/cosf.c               \
-  math/exp2f.S              math/expm1f.c             math/fmodf.c              math/ilogbf.S             math/log1pf.S             \
-  math/log2f.S              math/logbf.c              math/scalbnf.S            math/sinf.c               math/tanf.c
+  math/asinhf.c             math/atan2f.c             math/atanf.c              math/atanh.c              math/atanhf.c             \
+  math/cosf.c               math/exp2f.S              math/expm1f.c             math/fmodf.c              math/ilogbf.S             \
+  math/log1pf.S             math/log2f.S              math/logbf.c              math/scalbnf.S            math/sinf.c               \
+  math/tanf.c
 
 
 # these only go into the 32 bit version:
 src_libmingwex32 = \
   math/acosf.c              math/acosh.c              math/acoshf.c             math/asinf.c              math/asinh.c              \
-  math/asinhf.c             math/atan2f.c             math/atanf.c              math/atanhf.c             math/cosf.c               \
-  math/exp2f.S              math/expm1f.c             math/fmodf.c              math/ilogbf.S             math/log1pf.S             \
-  math/log2f.S              math/logbf.c              math/scalbnf.S            math/sinf.c               math/tanf.c
+  math/asinhf.c             math/atan2f.c             math/atanf.c              math/atanh.c              math/atanhf.c             \
+  math/cosf.c               math/exp2f.S              math/expm1f.c             math/fmodf.c              math/ilogbf.S             \
+  math/log1pf.S             math/log2f.S              math/logbf.c              math/scalbnf.S            math/sinf.c               \
+  math/tanf.c
 
 
 # these only go into the ARM32 version:
 src_libmingwexarm32 = \
   math/softmath/e_fmodf.c   math/softmath/e_powf.c    \
   math/softmath/acosf.c     math/softmath/acosh.c     math/softmath/acoshf.c    math/softmath/asinf.c     math/softmath/asinh.c     \
-  math/softmath/asinhf.c    math/softmath/atan2f.c    math/softmath/atanf.c     math/softmath/atanhf.c    math/softmath/cosf.c      \
-  math/softmath/exp2f.c     math/softmath/expm1f.c    math/softmath/fmodf.c     math/softmath/ilogbf.c    math/softmath/log1pf.c    \
-  math/softmath/log2f.c     math/softmath/logbf.c     math/softmath/scalbnf.c   math/softmath/sinf.c      math/softmath/tanf.c
+  math/softmath/asinhf.c    math/softmath/atan2f.c    math/softmath/atanf.c     math/softmath/atanh.c     math/softmath/atanhf.c    \
+  math/softmath/cosf.c      math/softmath/exp2f.c     math/softmath/expm1f.c    math/softmath/fmodf.c     math/softmath/ilogbf.c    \
+  math/softmath/log1pf.c    math/softmath/log2f.c     math/softmath/logbf.c     math/softmath/scalbnf.c   math/softmath/sinf.c      \
+  math/softmath/tanf.c
 
 
 # These intrinsics are target independent:
@@ -8315,8 +8321,6 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-atan2l.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
-math/lib32_libmingwex_a-atanh.$(OBJEXT): math/$(am__dirstamp) \
-	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-atanhl.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-atanl.$(OBJEXT): math/$(am__dirstamp) \
@@ -8899,6 +8903,8 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-atanf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
+math/lib32_libmingwex_a-atanh.$(OBJEXT): math/$(am__dirstamp) \
+	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-atanhf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-cosf.$(OBJEXT): math/$(am__dirstamp) \
@@ -9939,8 +9945,6 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-atan2l.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
-math/lib64_libmingwex_a-atanh.$(OBJEXT): math/$(am__dirstamp) \
-	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-atanhl.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-atanl.$(OBJEXT): math/$(am__dirstamp) \
@@ -10511,6 +10515,8 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-atanf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
+math/lib64_libmingwex_a-atanh.$(OBJEXT): math/$(am__dirstamp) \
+	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-atanhf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-cosf.$(OBJEXT): math/$(am__dirstamp) \
@@ -11426,8 +11432,6 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/libarm32_libmingwex_a-atan2l.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
-math/libarm32_libmingwex_a-atanh.$(OBJEXT): math/$(am__dirstamp) \
-	math/$(DEPDIR)/$(am__dirstamp)
 math/libarm32_libmingwex_a-atanhl.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/libarm32_libmingwex_a-atanl.$(OBJEXT): math/$(am__dirstamp) \
@@ -12018,6 +12022,9 @@
 math/softmath/libarm32_libmingwex_a-atanf.$(OBJEXT):  \
 	math/softmath/$(am__dirstamp) \
 	math/softmath/$(DEPDIR)/$(am__dirstamp)
+math/softmath/libarm32_libmingwex_a-atanh.$(OBJEXT):  \
+	math/softmath/$(am__dirstamp) \
+	math/softmath/$(DEPDIR)/$(am__dirstamp)
 math/softmath/libarm32_libmingwex_a-atanhf.$(OBJEXT):  \
 	math/softmath/$(am__dirstamp) \
 	math/softmath/$(DEPDIR)/$(am__dirstamp)
@@ -14575,7 +14582,6 @@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-asinhl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-asinl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-atan2l.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-atanh.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-atanhl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-atanl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-cbrt.Po@am__quote@
@@ -14765,6 +14771,7 @@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-asinhf.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atan2f.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atanf.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atanh.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atanhf.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-cosf.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-e_fmodf.Po@am__quote@
@@ -20499,20 +20506,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-atan2l.obj `if test -f 'math/atan2l.c'; then $(CYGPATH_W) 'math/atan2l.c'; else $(CYGPATH_W) '$(srcdir)/math/atan2l.c'; fi`
 
-math/lib32_libmingwex_a-atanh.o: math/atanh.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-atanh.o -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-atanh.Tpo -c -o math/lib32_libmingwex_a-atanh.o `test -f 'math/atanh.c' || echo '$(srcdir)/'`math/atanh.c
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-atanh.Tpo math/$(DEPDIR)/lib32_libmingwex_a-atanh.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/atanh.c' object='math/lib32_libmingwex_a-atanh.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-atanh.o `test -f 'math/atanh.c' || echo '$(srcdir)/'`math/atanh.c
-
-math/lib32_libmingwex_a-atanh.obj: math/atanh.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-atanh.obj -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-atanh.Tpo -c -o math/lib32_libmingwex_a-atanh.obj `if test -f 'math/atanh.c'; then $(CYGPATH_W) 'math/atanh.c'; else $(CYGPATH_W) '$(srcdir)/math/atanh.c'; fi`
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-atanh.Tpo math/$(DEPDIR)/lib32_libmingwex_a-atanh.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/atanh.c' object='math/lib32_libmingwex_a-atanh.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-atanh.obj `if test -f 'math/atanh.c'; then $(CYGPATH_W) 'math/atanh.c'; else $(CYGPATH_W) '$(srcdir)/math/atanh.c'; fi`
-
 math/lib32_libmingwex_a-atanhl.o: math/atanhl.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-atanhl.o -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-atanhl.Tpo -c -o math/lib32_libmingwex_a-atanhl.o `test -f 'math/atanhl.c' || echo '$(srcdir)/'`math/atanhl.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-atanhl.Tpo math/$(DEPDIR)/lib32_libmingwex_a-atanhl.Po
@@ -24405,6 +24398,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-atanf.obj `if test -f 'math/atanf.c'; then $(CYGPATH_W) 'math/atanf.c'; else $(CYGPATH_W) '$(srcdir)/math/atanf.c'; fi`
 
+math/lib32_libmingwex_a-atanh.o: math/atanh.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-atanh.o -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-atanh.Tpo -c -o math/lib32_libmingwex_a-atanh.o `test -f 'math/atanh.c' || echo '$(srcdir)/'`math/atanh.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-atanh.Tpo math/$(DEPDIR)/lib32_libmingwex_a-atanh.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/atanh.c' object='math/lib32_libmingwex_a-atanh.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-atanh.o `test -f 'math/atanh.c' || echo '$(srcdir)/'`math/atanh.c
+
+math/lib32_libmingwex_a-atanh.obj: math/atanh.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-atanh.obj -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-atanh.Tpo -c -o math/lib32_libmingwex_a-atanh.obj `if test -f 'math/atanh.c'; then $(CYGPATH_W) 'math/atanh.c'; else $(CYGPATH_W) '$(srcdir)/math/atanh.c'; fi`
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-atanh.Tpo math/$(DEPDIR)/lib32_libmingwex_a-atanh.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/atanh.c' object='math/lib32_libmingwex_a-atanh.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-atanh.obj `if test -f 'math/atanh.c'; then $(CYGPATH_W) 'math/atanh.c'; else $(CYGPATH_W) '$(srcdir)/math/atanh.c'; fi`
+
 math/lib32_libmingwex_a-atanhf.o: math/atanhf.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-atanhf.o -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-atanhf.Tpo -c -o math/lib32_libmingwex_a-atanhf.o `test -f 'math/atanhf.c' || echo '$(srcdir)/'`math/atanhf.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-atanhf.Tpo math/$(DEPDIR)/lib32_libmingwex_a-atanhf.Po
@@ -29599,20 +29606,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-atan2l.obj `if test -f 'math/atan2l.c'; then $(CYGPATH_W) 'math/atan2l.c'; else $(CYGPATH_W) '$(srcdir)/math/atan2l.c'; fi`
 
-math/lib64_libmingwex_a-atanh.o: math/atanh.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-atanh.o -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-atanh.Tpo -c -o math/lib64_libmingwex_a-atanh.o `test -f 'math/atanh.c' || echo '$(srcdir)/'`math/atanh.c
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-atanh.Tpo math/$(DEPDIR)/lib64_libmingwex_a-atanh.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/atanh.c' object='math/lib64_libmingwex_a-atanh.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-atanh.o `test -f 'math/atanh.c' || echo '$(srcdir)/'`math/atanh.c
-
-math/lib64_libmingwex_a-atanh.obj: math/atanh.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-atanh.obj -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-atanh.Tpo -c -o math/lib64_libmingwex_a-atanh.obj `if test -f 'math/atanh.c'; then $(CYGPATH_W) 'math/atanh.c'; else $(CYGPATH_W) '$(srcdir)/math/atanh.c'; fi`
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-atanh.Tpo math/$(DEPDIR)/lib64_libmingwex_a-atanh.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/atanh.c' object='math/lib64_libmingwex_a-atanh.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-atanh.obj `if test -f 'math/atanh.c'; then $(CYGPATH_W) 'math/atanh.c'; else $(CYGPATH_W) '$(srcdir)/math/atanh.c'; fi`
-
 math/lib64_libmingwex_a-atanhl.o: math/atanhl.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-atanhl.o -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-atanhl.Tpo -c -o math/lib64_libmingwex_a-atanhl.o `test -f 'math/atanhl.c' || echo '$(srcdir)/'`math/atanhl.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-atanhl.Tpo math/$(DEPDIR)/lib64_libmingwex_a-atanhl.Po
@@ -33505,6 +33498,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-atanf.obj `if test -f 'math/atanf.c'; then $(CYGPATH_W) 'math/atanf.c'; else $(CYGPATH_W) '$(srcdir)/math/atanf.c'; fi`
 
+math/lib64_libmingwex_a-atanh.o: math/atanh.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-atanh.o -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-atanh.Tpo -c -o math/lib64_libmingwex_a-atanh.o `test -f 'math/atanh.c' || echo '$(srcdir)/'`math/atanh.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-atanh.Tpo math/$(DEPDIR)/lib64_libmingwex_a-atanh.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/atanh.c' object='math/lib64_libmingwex_a-atanh.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-atanh.o `test -f 'math/atanh.c' || echo '$(srcdir)/'`math/atanh.c
+
+math/lib64_libmingwex_a-atanh.obj: math/atanh.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-atanh.obj -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-atanh.Tpo -c -o math/lib64_libmingwex_a-atanh.obj `if test -f 'math/atanh.c'; then $(CYGPATH_W) 'math/atanh.c'; else $(CYGPATH_W) '$(srcdir)/math/atanh.c'; fi`
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-atanh.Tpo math/$(DEPDIR)/lib64_libmingwex_a-atanh.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/atanh.c' object='math/lib64_libmingwex_a-atanh.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-atanh.obj `if test -f 'math/atanh.c'; then $(CYGPATH_W) 'math/atanh.c'; else $(CYGPATH_W) '$(srcdir)/math/atanh.c'; fi`
+
 math/lib64_libmingwex_a-atanhf.o: math/atanhf.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-atanhf.o -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-atanhf.Tpo -c -o math/lib64_libmingwex_a-atanhf.o `test -f 'math/atanhf.c' || echo '$(srcdir)/'`math/atanhf.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-atanhf.Tpo math/$(DEPDIR)/lib64_libmingwex_a-atanhf.Po
@@ -38111,20 +38118,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-atan2l.obj `if test -f 'math/atan2l.c'; then $(CYGPATH_W) 'math/atan2l.c'; else $(CYGPATH_W) '$(srcdir)/math/atan2l.c'; fi`
 
-math/libarm32_libmingwex_a-atanh.o: math/atanh.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-atanh.o -MD -MP -MF math/$(DEPDIR)/libarm32_libmingwex_a-atanh.Tpo -c -o math/libarm32_libmingwex_a-atanh.o `test -f 'math/atanh.c' || echo '$(srcdir)/'`math/atanh.c
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/libarm32_libmingwex_a-atanh.Tpo math/$(DEPDIR)/libarm32_libmingwex_a-atanh.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/atanh.c' object='math/libarm32_libmingwex_a-atanh.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-atanh.o `test -f 'math/atanh.c' || echo '$(srcdir)/'`math/atanh.c
-
-math/libarm32_libmingwex_a-atanh.obj: math/atanh.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-atanh.obj -MD -MP -MF math/$(DEPDIR)/libarm32_libmingwex_a-atanh.Tpo -c -o math/libarm32_libmingwex_a-atanh.obj `if test -f 'math/atanh.c'; then $(CYGPATH_W) 'math/atanh.c'; else $(CYGPATH_W) '$(srcdir)/math/atanh.c'; fi`
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/libarm32_libmingwex_a-atanh.Tpo math/$(DEPDIR)/libarm32_libmingwex_a-atanh.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/atanh.c' object='math/libarm32_libmingwex_a-atanh.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-atanh.obj `if test -f 'math/atanh.c'; then $(CYGPATH_W) 'math/atanh.c'; else $(CYGPATH_W) '$(srcdir)/math/atanh.c'; fi`
-
 math/libarm32_libmingwex_a-atanhl.o: math/atanhl.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-atanhl.o -MD -MP -MF math/$(DEPDIR)/libarm32_libmingwex_a-atanhl.Tpo -c -o math/libarm32_libmingwex_a-atanhl.o `test -f 'math/atanhl.c' || echo '$(srcdir)/'`math/atanhl.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/libarm32_libmingwex_a-atanhl.Tpo math/$(DEPDIR)/libarm32_libmingwex_a-atanhl.Po
@@ -42045,6 +42038,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-atanf.obj `if test -f 'math/softmath/atanf.c'; then $(CYGPATH_W) 'math/softmath/atanf.c'; else $(CYGPATH_W) '$(srcdir)/math/softmath/atanf.c'; fi`
 
+math/softmath/libarm32_libmingwex_a-atanh.o: math/softmath/atanh.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-atanh.o -MD -MP -MF math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atanh.Tpo -c -o math/softmath/libarm32_libmingwex_a-atanh.o `test -f 'math/softmath/atanh.c' || echo '$(srcdir)/'`math/softmath/atanh.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atanh.Tpo math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atanh.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/softmath/atanh.c' object='math/softmath/libarm32_libmingwex_a-atanh.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-atanh.o `test -f 'math/softmath/atanh.c' || echo '$(srcdir)/'`math/softmath/atanh.c
+
+math/softmath/libarm32_libmingwex_a-atanh.obj: math/softmath/atanh.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-atanh.obj -MD -MP -MF math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atanh.Tpo -c -o math/softmath/libarm32_libmingwex_a-atanh.obj `if test -f 'math/softmath/atanh.c'; then $(CYGPATH_W) 'math/softmath/atanh.c'; else $(CYGPATH_W) '$(srcdir)/math/softmath/atanh.c'; fi`
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atanh.Tpo math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atanh.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/softmath/atanh.c' object='math/softmath/libarm32_libmingwex_a-atanh.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-atanh.obj `if test -f 'math/softmath/atanh.c'; then $(CYGPATH_W) 'math/softmath/atanh.c'; else $(CYGPATH_W) '$(srcdir)/math/softmath/atanh.c'; fi`
+
 math/softmath/libarm32_libmingwex_a-atanhf.o: math/softmath/atanhf.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-atanhf.o -MD -MP -MF math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atanhf.Tpo -c -o math/softmath/libarm32_libmingwex_a-atanhf.o `test -f 'math/softmath/atanhf.c' || echo '$(srcdir)/'`math/softmath/atanhf.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atanhf.Tpo math/softmath/$(DEPDIR)/libarm32_libmingwex_a-atanhf.Po
diff --git a/mingw-w64-crt/math/softmath/atanh.c b/mingw-w64-crt/math/softmath/atanh.c
new file mode 100644
index 0000000..d05f0b8
--- /dev/null
+++ b/mingw-w64-crt/math/softmath/atanh.c
@@ -0,0 +1,52 @@
+/*
+ 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 atanh(double x)
+{
+    if (x > 1) return NAN;
+    else if (x < -1) return -NAN;
+    return softmath_log((1 + x) / (1 - x)) / 2;
+}