repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* sysdeps/alpha/jmpbuf-unwind.h: New file, moved from nptl/.
[glibc.git]
/
sysdeps
/
i386
/
fpu
/
s_logbl.c
blob
391e2db48942733e3a0fd39f45ba9476b221fcca
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
*/
6
7
#include <math_private.h>
8
9
long double
10
__logbl
(
long double
x
)
11
{
12
long double
res
;
13
14
asm
(
"fxtract
\n
"
15
"fstp %%st"
:
"=t"
(
res
) :
"0"
(
x
));
16
return
res
;
17
}
18
19
weak_alias
(
__logbl
,
logbl
)