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(ceilf)
3
	pushl	%ebp
4
	movl	%esp,%ebp
5
	subl	$8,%esp
6
 
7
	fstcw	-12(%ebp)
8
	movw	-12(%ebp),%dx
9
	orw	$0x0800,%dx
10
	andw	$0xfbff,%dx
11
	movw	%dx,-16(%ebp)
12
	fldcw	-16(%ebp)
13
 
14
	flds	8(%ebp);
15
	frndint
16
 
17
	fldcw	-12(%ebp)
18
 
19
	leave
20
	ret