a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 mathffp.library
  SPAbs
  SPAdd
  SPCeil
  SPCmp
  SPDiv
  SPFix
  SPFloor
  SPFlt
  SPMul
  SPNeg
  SPSub
  SPTst
Include
GuruMeditation
Docs » Autodocs » mathffp.library » SPFix

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

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Paradox

AOA
TRSI
DC
PDX

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se