commit | 460ad7454a281470a1938103f099a1e3192fb3d6 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Sep 12 14:00:02 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Sep 12 14:00:02 2014 -0700 |
tree | a7427b2e2bde312e596fccd00af1c427667c915e | |
parent | e39e47c6b377170d696c6b9b5b523a28c1382ca4 [diff] [blame] |
Sync libm with upstream. Change-Id: I8ac8ee52122ee19a2e423c3211092023cb4896eb
diff --git a/libm/upstream-freebsd/lib/msun/src/s_tanhf.c b/libm/upstream-freebsd/lib/msun/src/s_tanhf.c index 04f09c6..f537be4 100644 --- a/libm/upstream-freebsd/lib/msun/src/s_tanhf.c +++ b/libm/upstream-freebsd/lib/msun/src/s_tanhf.c
@@ -19,7 +19,9 @@ #include "math.h" #include "math_private.h" -static const float one=1.0, two=2.0, tiny = 1.0e-30, huge = 1.0e30; +static const volatile float tiny = 1.0e-30; +static const float one=1.0, two=2.0, huge = 1.0e30; + float tanhf(float x) {