summaryrefslogtreecommitdiff
path: root/src/math/expm1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/expm1.c')
-rw-r--r--src/math/expm1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/expm1.c b/src/math/expm1.c
index 0fdee6fe..bee08865 100644
--- a/src/math/expm1.c
+++ b/src/math/expm1.c
@@ -6,6 +6,7 @@
TYPE TGFN(expm1)(TYPE x)
{
+ SIGNAL_SAFE(0);
switch (fpclassify(x)) {
case FP_ZERO: return x;
case FP_INFINITE: return signbit(x) ? -1.0 : x;