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