Group: round¶
C¶
functionkfr::generic::ceil(const T1 &) Returns the smallest integer value not less than x.
F¶
functionkfr::generic::floor(const T1 &) Returns the largest integer value not greater than x.functionkfr::generic::fmod(const T &, const T &) Returns the floating-point remainder of dividing x by y.functionkfr::generic::fract(const T1 &) Returns the fractional part of x.
I¶
functionkfr::generic::iceil(const T1 &) Returns the smallest integer value not less than x, as an integer type.functionkfr::generic::ifloor(const T1 &) Returns the largest integer value not greater than x, as an integer type.functionkfr::generic::iround(const T1 &) Returns the nearest integer value to x, as an integer type.functionkfr::generic::itrunc(const T1 &) Returns the truncated integer part of x, as an integer type.
R¶
functionkfr::generic::rem(const vec<T, N> &, const vec<T, N> &) Returns the element-wise floating-point remainder of vectors x and y.functionkfr::generic::round(const T1 &) Returns the nearest integer value to x.
T¶
functionkfr::generic::trunc(const T1 &) Returns the integer part of x by removing its fractional part.