summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/s_tanhf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src/s_tanhf.c')
-rw-r--r--lib/msun/src/s_tanhf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/msun/src/s_tanhf.c b/lib/msun/src/s_tanhf.c
index 04f09c6..f537be4 100644
--- a/lib/msun/src/s_tanhf.c
+++ b/lib/msun/src/s_tanhf.c
@@ -19,7 +19,9 @@ __FBSDID("$FreeBSD$");
#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)
{
OpenPOWER on IntegriCloud