X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fasin.c;h=d61c04b4b86ef0452a76238663991747024335e4;hb=74025c80ce1eb4cda110ab2e3ac11718d3c6f2ff;hp=a1906b0849cc29b5aea208562201d6cbc0555338;hpb=b12a73d5bf595b7fbb73db30c6bb144078e86ef5;p=musl diff --git a/src/math/asin.c b/src/math/asin.c index a1906b08..d61c04b4 100644 --- a/src/math/asin.c +++ b/src/math/asin.c @@ -77,14 +77,14 @@ double asin(double x) GET_LOW_WORD(lx, x); if ((ix-0x3ff00000 | lx) == 0) /* asin(1) = +-pi/2 with inexact */ - return x*pio2_hi + 0x1p-1000; + return x*pio2_hi + 0x1p-120f; return 0/(x-x); } /* |x| < 0.5 */ if (ix < 0x3fe00000) { if (ix < 0x3e500000) { /* |x|<0x1p-26, return x with inexact if x!=0*/ - FORCE_EVAL(x + 0x1p1000); + FORCE_EVAL(x + 0x1p120f); return x; } return x + x*R(x*x);