◆ is_not_flint
Callable object computing the is_not_flint logical value. Required header: Members Functions
Definition: value.hpp:103 Parameters Return value The call: logical<T> r = is_not_flint(x);
constexpr callable_is_not_flint_ is_not_flint Callable object computing the is_not_flint logical value. Definition: is_not_flint.hpp:86 is semantically equivalent to: This means that auto operator[]( conditional_expression auto cond ) const noexcept;
Higher-order function generating a masked version of eve::is_not_flint Parameters
Return value A Callable object so that the expression Supported decorators
ExampleSee it live on Compiler Explorer #include <eve/function/is_not_flint.hpp>
#include <eve/function/pedantic/is_not_flint.hpp>
#include <eve/wide.hpp>
#include <eve/constant/inf.hpp>
#include <eve/constant/maxflint.hpp>
#include <eve/constant/valmax.hpp>
#include <eve/constant/minf.hpp>
#include <eve/constant/nan.hpp>
#include <iostream>
using wide_ft = eve::wide<float, eve::fixed<8>>;
int main()
{
wide_ft pf = {0.0f, 1.0f, -1.5f, -2.0f, eve::valmax(eve::as<float>()),
std::cout << "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
float xf = 1.0f;
std::cout << "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
return 0;
}
constexpr callable_valmax_ valmax Callable object computing the greatest representable value. Definition: valmax.hpp:53 constexpr callable_maxflint_ maxflint Callable object computing the greatest real n representing an integer and such that n !... Definition: maxflint.hpp:57 constexpr callable_inf_ inf Callable object computing the infinity ieee value. Definition: inf.hpp:54 constexpr pedantic_type const pedantic Higher-order Callable Object imbuing more standard semantic onto other Callable Objects. Definition: pedantic.hpp:56 |