◆ is_not_real
Callable object computing the is_not_real logical value. Required header: Members Functions
Definition: value.hpp:83 Parameters
Return value The call auto operator[]( conditional_expression auto cond ) const noexcept;
Higher-order function generating a masked version of eve::is_not_real Parameters
Return value A Callable object so that the expression Supported decoratorsno decorators are supported ExampleSee it live on Compiler Explorer #include <eve/function/is_not_real.hpp>
#include <eve/wide.hpp>
#include <iostream>
using wide_ft = eve::wide<float, eve::fixed<4>>;
int main()
{
wide_ft pf = {0.0f, 1.0f, -0.0f, -2.0f};
std::cout << "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
float xf = 1.0f;
std::cout << "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
return 0;
}
constexpr callable_is_not_real_ is_not_real Callable object computing the is_not_real logical value. Definition: is_not_real.hpp:75 |