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