[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


NAME
	SPFix -- Convert fast floating point number to integer.

SYNOPSIS
	inum = SPFix(fnum)
	D0	     D0

	int SPFix(float fnum);

FUNCTION
	Accepts a floating point number and returns the truncated
	integer portion of said number.

INPUTS

	fnum 	- floating point number.

RESULT

	inum 	- signed integer number.

BUGS
	None.

SEE ALSO


[Back to Amiga Developer Docs]