[BZ #2510, BZ #2830, BZ #3137, BZ #3313, BZ #3426, BZ #3465, BZ #3480, BZ #3483,...
[glibc.git] / sysdeps / i386 / fpu / s_significandl.c
blobb8cb093502334c042202735e974da535ec2aca36
1 /*
2 * Written by J.T. Conklin <jtc@netbsd.org>.
3 * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
4 * Public domain.
5 */
7 #include <math_private.h>
9 long double
10 __significandl (long double x)
12 long double res;
14 asm ("fxtract\n"
15 "fstp %%st(1)" : "=t" (res) : "0" (x));
16 return res;
19 weak_alias (__significandl, significandl)