aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/math/expm1.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/math/expm1.def.h')
-rw-r--r--winsup/cygwin/math/expm1.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/math/expm1.def.h b/winsup/cygwin/math/expm1.def.h
index 5a2b6f498..64fe42860 100644
--- a/winsup/cygwin/math/expm1.def.h
+++ b/winsup/cygwin/math/expm1.def.h
@@ -51,7 +51,7 @@ __FLT_ABI(expm1) (__FLT_TYPE x)
int x_class = fpclassify (x);
if (x_class == FP_NAN)
{
- __FLT_RPT_DOMAIN ("expm1", x, 0.0, x);
+ errno = EDOM;
return x;
}
else if (x_class == FP_INFINITE)