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