diff options
author | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2018-12-06 19:14:01 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2019-01-23 12:46:24 +0300 |
commit | b14a879d85b171960df789ac8ba2332004f838e0 (patch) | |
tree | 532dd01e4a882b5cf7d50ad237082574c01e67f6 /winsup/cygwin/math/powi.def.h | |
parent | 1f10a00ba717b22b154205508e60af0dcb641ed3 (diff) |
Remove matherr, and SVID and X/Open math library configurations
Default math library configuration is now IEEE
Diffstat (limited to 'winsup/cygwin/math/powi.def.h')
-rw-r--r-- | winsup/cygwin/math/powi.def.h | 2 |
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) |