summaryrefslogtreecommitdiff
path: root/src/math/log1p.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/log1p.c')
-rw-r--r--src/math/log1p.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/log1p.c b/src/math/log1p.c
index 5de637b7..4163a184 100644
--- a/src/math/log1p.c
+++ b/src/math/log1p.c
@@ -7,6 +7,7 @@
TYPE TGFN(log1p)(TYPE x)
{
+ SIGNAL_SAFE(0);
switch (fpclassify(x)) {
case FP_ZERO: return x;
case FP_INFINITE: if (!signbit(x)) { return x; } break;