HDK
|
Go to the source code of this file.
Functions | |
SYS_API fpreal32 | SYSfloor (fpreal32 val) |
SYS_API fpreal32 | SYSceil (fpreal32 val) |
SYS_API fpreal32 | SYSfrac (fpreal32 val) |
SYS_API fpreal64 | SYSfrac (fpreal64 val) |
fpreal32 | SYSfloorIL (fpreal32 val) |
fpreal64 | SYSfloorIL (fpreal64 val) |
fpreal32 | SYSceilIL (fpreal32 val) |
fpreal64 | SYSceilIL (fpreal64 val) |
fpreal32 | SYSfracIL (fpreal32 val) |
fpreal64 | SYSfracIL (fpreal64 val) |
fpreal32 | SYSrint (fpreal32 val) |
fpreal64 | SYSrint (fpreal64 val) |
SYS_API fpreal64 | SYSniceNumber (fpreal64 num, int digits=6) |
Definition at line 88 of file SYS_Floor.h.
Definition at line 89 of file SYS_Floor.h.
Definition at line 59 of file SYS_Floor.h.
Definition at line 87 of file SYS_Floor.h.
Definition at line 139 of file SYS_Floor.h.
Definition at line 157 of file SYS_Floor.h.
SYSniceNumber() will limit the precision of decimal digits, but leave the integer portion of a number at full precision. Thus:
Note that 6 digits is almost enough to represent a single precision float.
Definition at line 163 of file SYS_Floor.h.
Definition at line 169 of file SYS_Floor.h.