◆ bernouilli
Callable object computing bernouilli numbers sequence. Required header: Members Functions
Definition: value.hpp:63 Parameters
Return value The result element type is always double to try to avoid overflow and its cardinal is the same as the entry in case of an simd call.
Supported decoratorsno decorators are supported ExampleSee it live on Compiler Explorer #include <eve/function/bernouilli.hpp>
#include <eve/wide.hpp>
#include <iostream>
#include <iomanip>
int main()
{
using w32_t = eve::wide<std::uint32_t, eve::fixed<8>>;
w32_t pi32 = {93, 25, 32, 180, 1, 2, 3, 4};
std::cout << "---- simd" << std::setprecision(17) << '\n'
<< " <- pi32 = " << pi32 << '\n'
std::uint32_t xi = 18;
std::cout << "---- scalar" << '\n'
<< " xi = " << xi << '\n'
return 0;
}
constexpr callable_bernouilli_ bernouilli Callable object computing bernouilli numbers sequence. Definition: bernouilli.hpp:64 |