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