Fix -Wundef warnings in login/tst-utmp.c.
[glibc.git] / sysdeps / i386 / fpu / s_logbl.c
blob391e2db48942733e3a0fd39f45ba9476b221fcca
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 __logbl (long double x)
12 long double res;
14 asm ("fxtract\n"
15 "fstp %%st" : "=t" (res) : "0" (x));
16 return res;
19 weak_alias (__logbl, logbl)