Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4973 right-hear 1
#include
2
MK_C_SYM(sin)
3
	fldl	4(%esp)
4
	fsin
5
	fnstsw	%ax
6
	andw	$0x400,%ax
7
	jnz	1f
8
	ret
9
1:	fldpi
10
	fadd	%st(0)
11
	fxch	%st(1)
12
2:	fprem1
13
	fnstsw	%ax
14
	andw	$0x400,%ax
15
	jnz	2b
16
	fstp	%st(1)
17
	fsin
18
	ret