Skip to content

Function trunc

function trunc(const T1 &) simd

template <numeric T1>
KFR_INTRINSIC T1 trunc(const T1& x)

Returns the integer part of x by removing its fractional part.

Template parameters
T1 Numeric type.
Parameters
x Input value.
Returns
The truncated integer part of x.

Fully qualified name: kfr::trunc(const T1 &)

Declared at simd/round.hpp:75

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.