G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
gsUniversal.h
1
2#pragma once
3
4#ifndef NDEBUG
5#define POSIT_THROW_ARITHMETIC_EXCEPTION 1
6#endif
7
8//#include <universal/utility/directives.hpp>
9#include <universal/number/posit/posit.hpp>
10
11typedef sw::universal::posit<256,5> posit_256_5;
12typedef sw::universal::posit<128,4> posit_128_4;
13typedef sw::universal::posit< 64,3> posit_64_3;
14typedef sw::universal::posit< 32,2> posit_32_2;
15typedef sw::universal::posit< 16,1> posit_16_1;
16typedef sw::universal::posit< 8,1> posit_8_1;
17typedef sw::universal::posit< 8,0> posit_8_0;
18typedef sw::universal::posit< 4,0> posit_4_0;
19typedef sw::universal::posit< 3,1> posit_3_1;
20typedef sw::universal::posit< 3,0> posit_3_0;
21typedef sw::universal::posit< 2,0> posit_2_0;