NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
All
Data Structures
Files
Functions
Variables
Groups
Pages
long trunc
(
float
x
)
inline
Compute integral part.
Computes the integral part of x.
Parameters
x
Floating point value.
Returns
Integral part of x.
Warning
This function requires the enhanced NBC/NXC firmware.
Examples:
ex_sin_cos.nxc
,
ex_sind_cosd.nxc
, and
ex_trunc.nxc
.
cmath API
Generated by
1.8.2