5 #include <machine/asm.h>
6 #include <i386-math-asm.h>
7 #include <libm-alias-finite.h>
9 RCSID("$NetBSD: e_asin.S,v 1.4 1995/05/08 23:45:40 jtc Exp $")
14 # define MO(op) op##@GOTOFF(%ecx)
21 /* asin = atan (x / sqrt((1-x) (1+x))) */
30 fld1 /* 1 : 1 - x : x */
31 fadd %st(2) /* 1 + x : 1 - x : x */
33 fsqrt /* sqrt (1 - x^2) */
38 libm_alias_finite (__ieee754_asin, __asin)