#include <kyosu/kyosu.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
auto inf = eve::inf(eve::as<float>());
std::cout << "Real: \n";
std::cout <<
" " << 72.9f <<
" -> " <<
proj(72.9f) <<
"\n";
std::cout <<
" " << inf <<
" -> " <<
proj(inf) <<
"\n";
std::cout <<
" " << -inf <<
" -> " <<
proj(-inf) <<
"\n";
std::cout << "Complex: \n";
std::cout << "Quaternion: \n";
using T = eve::wide < float, eve::fixed < 2 > >;
auto g = c_t(32, 44, 55, 34);
std::cout << g << std::endl;
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