◆ acospi
Callable object computing acospi. Required header: Members Functions
Definition: value.hpp:83 Parameters Return value Returns the elementwise value in \(pi\) multiples of the arc cosine of the input in the range \([0, 1]\). In particular:
Supported decorators
ExampleSee it live on Compiler Explorer #include <eve/function/acospi.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, -1.0f, -0.5f};
std::cout
<< "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
float xf = 1.0f;
std::cout
<< "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
<< "<- yf = " << yf << '\n'
return 0;
}
constexpr callable_acospi_ acospi Callable object computing acospi. Definition: acospi.hpp:70 |