commit | 78419467a2f88744ae2445fca5eb442877ebb1b0 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jun 12 16:37:58 2013 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Jun 12 16:37:58 2013 -0700 |
tree | 1dd93ecd08e65e3de103194283b7a94e4a489504 | |
parent | 6a44d2271f372d0c65b05a5d3377bd00ce92824e [diff] [blame] |
Take upstream libm changes. Mostly workarounds for GCC and Clang bugs. Change-Id: I4ef428a42d4ac6d622659053711a8cc416925727
diff --git a/libm/upstream-freebsd/lib/msun/src/s_asinh.c b/libm/upstream-freebsd/lib/msun/src/s_asinh.c index f3fdf74..cbb3d46 100644 --- a/libm/upstream-freebsd/lib/msun/src/s_asinh.c +++ b/libm/upstream-freebsd/lib/msun/src/s_asinh.c
@@ -24,6 +24,8 @@ * := sign(x)*log1p(|x| + x^2/(1 + sqrt(1+x^2))) */ +#include <float.h> + #include "math.h" #include "math_private.h" @@ -54,3 +56,7 @@ } if(hx>0) return w; else return -w; } + +#if LDBL_MANT_DIG == 53 +__weak_reference(asinh, asinhl); +#endif