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