E.V.E
v2023.02.15

◆ toward_zero

eve::toward_zero = {}
inlineconstexpr

Higher-order Callable Object imbuing rounding toward zero semantic onto other Callable Objects.

Members Functions

auto operator()(eve::callable auto const& f ) const noexcept;
Parameters
fAn instance of eve::callable
Returns
A Callable Object performing the same kind of operation but truncating the result or, in other words, rounding toward zero