Home  /  Autodocs  /  mathffp.library

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.