File:  [MW Coherent from dump] / coherent / b / lib / libc / crt / i386 / ifcvt.s
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:35 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

//////////
/ libc/crt/i386/ifcvt.s
/ i386 C runtime library.
/ IEEE software floating point support.
//////////

//////////
/ int _ifcvt()
/
/ Convert float in %eax to int, return in %eax.
//////////

MAXINT	.equ	0x7FFFFFFF
SGNMASK	.equ	0x80000000

	.globl	_idcvt
	.globl	_ifcvt
	.globl	_dfcvt

_ifcvt:
	push	%edx
	call	_dfcvt			/ (double)f to EDX:EAX
	call	_idcvt			/ (double)f to int in EAX
	pop	%edx
	ret

/ end of libc/crt/i386/ifcvt.s

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.