aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/math/sqrt.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/math/sqrt.def.h')
-rw-r--r--winsup/cygwin/math/sqrt.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/math/sqrt.def.h b/winsup/cygwin/math/sqrt.def.h
index 2690d1d9f..ee858a785 100644
--- a/winsup/cygwin/math/sqrt.def.h
+++ b/winsup/cygwin/math/sqrt.def.h
@@ -73,7 +73,7 @@ __FLT_ABI (sqrt) (__FLT_TYPE x)
if (x_class == FP_ZERO)
return __FLT_CST (-0.0);
- __FLT_RPT_DOMAIN ("sqrt", x, 0.0, x);
+ errno = EDOM;
return x;
}
else if (x_class == FP_ZERO)