summaryrefslogtreecommitdiff
path: root/src/math/modf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/modf.c')
-rw-r--r--src/math/modf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/modf.c b/src/math/modf.c
index c39ba054..59ad3e19 100644
--- a/src/math/modf.c
+++ b/src/math/modf.c
@@ -9,6 +9,7 @@
TYPE TGFN(modf)(TYPE value, TYPE *iptr)
{
+ SIGNAL_SAFE(0);
switch (fpclassify(value)) {
case FP_INFINITE: *iptr = value; return copysign(0.0, value);
case FP_NAN: *iptr = value; return value;