Skip to content

Function round

function round(const T1 &) simd

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

Returns the nearest integer value to x.

Template parameters
T1 Numeric type.
Parameters
x Input value.
Returns
The nearest integer value to x.

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

Declared at simd/round.hpp:63

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