]>
sourceware.org Git - newlib-cygwin.git/blob - winsup/cygwin/math/asinl.c
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
7 * Written by J.T. Conklin <jtc@netbsd.org>.
9 * Adapted for long double type by Danny Smith <dannysmith@users.sourceforge.net>.
12 /* asin = atan (x / sqrt(1 - x^2)) */
13 long double asinl (long double x
);
15 long double asinl (long double x
)
17 long double res
= 0.0L;
21 "fmul %%st(0)\n\t" /* x^2 */
23 "fsubp\n\t" /* 1 - x^2 */
24 "fsqrt\n\t" /* sqrt (1 - x^2) */
26 : "=t" (res
) : "0" (x
) : "st(1)");
This page took 0.032859 seconds and 5 git commands to generate.