aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/math/w_asin.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/math/w_asin.c')
-rw-r--r--newlib/libm/math/w_asin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/math/w_asin.c b/newlib/libm/math/w_asin.c
index b146dfd..e7884b2 100644
--- a/newlib/libm/math/w_asin.c
+++ b/newlib/libm/math/w_asin.c
@@ -104,7 +104,7 @@ MATHREF
exc.name = "asin";
exc.err = 0;
exc.arg1 = exc.arg2 = x;
- exc.retval = 0.0;
+ exc.retval = nan("");
if(_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!matherr(&exc)) {