E.V.E  0.1-beta
Operators

Detailed Description

These functions provide scalar and SIMD version of operators functions. In general these functions are not needed for direct call but can be used if the parameters are scalar as the operator will be the original C++ one and could lead to unexpected promotions. Moreover they are mandatory if the operator has to be decorated (saturated(add)` is an example).

Convenience header:

#include <eve/function/operator.hpp>

Variables

constexpr callable_add_ eve::add = {}
 Callable object performing the sum of multiple values. More...
 
constexpr callable_dec_ eve::dec = {}
 Callable object computing the dec unary operation. More...
 
constexpr callable_div_ eve::div = {}
 Callable object performing the division of multiple values. More...
 
constexpr callable_inc_ eve::inc = {}
 Callable object computing the inc unary operation. More...
 
constexpr callable_minus_ eve::minus = {}
 Callable object computing the minus unary operation. More...
 
constexpr callable_mul_ eve::mul = {}
 Callable object computing the mul operation. More...
 
constexpr callable_plus_ eve::plus = {}
 Callable object computing the plus unary operation. More...
 
constexpr callable_rem_ eve::rem = {}
 Callable object computing the rem operation. More...
 
constexpr callable_rshl_ eve::rshl = {}
 Callable object computing the arithmetic left/right shift operation according to shift sign. More...
 
constexpr callable_rshr_ eve::rshr = {}
 Callable object computing the arithmetic left/right shift operation according to shift sign. More...
 
constexpr callable_shl_ eve::shl = {}
 Callable object computing the arithmetic left shift operation. More...
 
constexpr callable_shr_ eve::shr = {}
 Callable object computing the arithmetic right shift operation. More...