aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/math/powi.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/math/powi.def.h')
-rw-r--r--winsup/cygwin/math/powi.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/math/powi.def.h b/winsup/cygwin/math/powi.def.h
index f7fa860a6..e3840e757 100644
--- a/winsup/cygwin/math/powi.def.h
+++ b/winsup/cygwin/math/powi.def.h
@@ -83,7 +83,7 @@ __FLT_ABI(__powi) (__FLT_TYPE x, int y)
else if (x_class == FP_NAN)
{
rslt = (signbit(x) ? -__FLT_NAN : __FLT_NAN);
- __FLT_RPT_DOMAIN ("__powi", x, (__FLT_TYPE) y, rslt);
+ errno = EDOM;
return rslt;
}
else if (x_class == FP_ZERO)