Callable object computing \(2^x\).
{
template< eve::ordered_value T >
template< eve::floating_value T >
}
constexpr callable_exp2_ exp2
Callable object computing .
Definition: exp2.hpp:99
SIMD-compatible representation of complex numbers.
Definition: complex.hpp:39
#include <eve/module/math.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
wide_ft pf = {0.0f, -0.0f, -1.0f, 33.0f, 2.0f,
wide_it
pi = {0, 2, 8, 33};
std::cout << "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
<<
"<- pi = " <<
pi <<
'\n'
float xf = 1.0f;
std::cout << "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
<<
"-> exp2(xf) = " <<
eve::exp2(xf) <<
'\n';
return 0;
}
constexpr callable_nan_ nan
Computes the IEEE NaN constant.
Definition: nan.hpp:53
constexpr callable_minf_ minf
Computes the -infinity ieee value.
Definition: minf.hpp:60
constexpr callable_inf_ inf
Computes the infinity ieee value.
Definition: inf.hpp:58
constexpr converter_type< float > const float32
convert a eve::value to a float32 based eve::floating_value.
Definition: converter.hpp:130
constexpr converter_type< double > const float64
convert a eve::value to a double based eve::floating_value.
Definition: converter.hpp:175
constexpr floating_converter const floating_
convert a eve::value to an eve::floating_value.
Definition: converter.hpp:693
constexpr callable_pi_ pi
Callable object computing the constant .
Definition: pi.hpp:49
Lightweight type-wrapper.
Definition: as.hpp:29
Wrapper for SIMD registers.
Definition: wide.hpp:65