function trunc(const T1 &) round¶
template <numeric T1>
KFR_INTRINSIC T1 trunc(const T1& x) Returns the integer part of x by removing its fractional part.
| T1 | Numeric type. |
| x | Input value. |
| The truncated integer part of x. |
Defined at simd/round.hpp:78