◆ sind
Callable object computing sind. Required header: Members Functions
Definition: value.hpp:83 Parameters Return value Returns the elementwise sine of the input expressed in degrees. In particular:
Supported decorators
ExampleSee it live on Compiler Explorer #include <eve/function/sind.hpp>
#include <eve/wide.hpp>
#include <eve/constant/inf.hpp>
#include <eve/constant/pi.hpp>
#include <iostream>
using wide_ft = eve::wide<float, eve::fixed<4>>;
int main()
{
wide_ft pf = {1.0f, 0.0f, eve::inf(eve::as<float>()), 180.0f};
std::cout << "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
float xf = 3.0f;
std::cout << "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
return 0;
}
constexpr callable_inf_ inf Callable object computing the infinity ieee value. Definition: inf.hpp:54 |