#include <kyosu/kyosu.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
using kyosu::as;
std::cout << "Real: \n";
std::cout <<
"j(kyosu::as(72.9f))" <<
" -> " <<
j(as(72.9f)) <<
"\n";
std::cout << "Complex: \n";
std::cout << "c = " << c << std::endl;
std::cout <<
"j(as(c) " <<
" -> " <<
j(as(c)) <<
"\n";
std::cout << "Quaternion: \n";
std::cout <<
"j(as(z) " <<
" -> " <<
j(as(z)) <<
"\n";
std::cout << "SIMD: ";
using wc_t = eve::wide<kyosu::complex_t<double>, eve::fixed<2>>;
std::cout <<
"j(as(wz)) " <<
" -> " <<
j(as(wz)) <<
"\n";
return 0;
}
as_cayley_dickson_n_t< 4, T > quaternion_t
Type alias for quaternion numbers.
Definition: quaternion.hpp:24
as_cayley_dickson_n_t< 2, T > complex_t
Type alias for complex numbers.
Definition: complex.hpp:27