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