summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/i386/cos.S
blob: 73ba03355124bfe0ebb1c40fd817e3034cd5c430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.text

.global cosf,cos,cosl
.type   cosf,@function
.type   cos,@function
.type   cosl,@function

cosf:
        flds    4(%esp)
        jmp .Lcos
cos:
        fldl    4(%esp)
.Lcos:	
	call	__fmod2pi
        fcos
        ret
cosl:
        fldt    4(%esp)
        jmp .Lcos

.Lende:
.size    cos,.Lende-cos
.size    cosl,.Lende-cosl
.size    cosf,.Lende-cosf