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
Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
[glibc.git]
/
sysdeps
/
libm-i387
/
s_tanl.S
blob
c818e96f8861c226081817e1e7fa80fe19da2268
1
/*
2
* Written by J.T. Conklin <jtc@netbsd.org>.
3
* Public domain.
4
*
5
* Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
6
*/
7
8
#include <machine/asm.h>
9
10
RCSID("$NetBSD: $")
11
12
ENTRY(__tanl)
13
fldt 4(%esp)
14
fptan
15
fnstsw %ax
16
andw $0x400,%ax
17
jnz 1f
18
fstp %st(0)
19
ret
20
1: fldpi
21
fadd %st(0)
22
fxch %st(1)
23
2: fprem1
24
fstsw %ax
25
andw $0x400,%ax
26
jnz 2b
27
fstp %st(1)
28
fptan
29
fstp %st(0)
30
ret
31
PSEUDO_END (__tanl)
32
weak_alias (__tanl, tanl)