carl  24.04
Computer ARithmetic Library
numbers.h
Go to the documentation of this file.
1 /**
2  * @file: numbers.h
3  * @author: Sebastian Junges
4  *
5  * @since August 26, 2013
6  */
7 
8 #pragma once
9 
10 #define INCLUDED_FROM_NUMBERS_H true
11 
12 #include <cstdint>
13 #include <type_traits>
14 
15 namespace carl {
16  using uint = std::uint64_t;
17  using sint = std::int64_t;
18 
19  static_assert(std::is_arithmetic<uint>::value);
20  static_assert(std::is_arithmetic<sint>::value);
21 }
22 
23 #include <carl-common/config.h>
24 #include "constants.h"
25 #include "typetraits.h"
27 #include "operations_generic.h"
28 
31 
32 #include "adaption_gmpxx/hash.h"
35 
36 
37 #ifdef USE_CLN_NUMBERS
38 #include "adaption_cln/include.h"
39 #include "adaption_cln/hash.h"
42 #endif
43 
44 #ifdef USE_MPFR_FLOAT
45 #include <mpfr.h>
46 #endif
47 
48 #include "adaption_float/FLOAT_T.h"
50 
51 #include "GaloisField.h"
52 #include "GFNumber.h"
53 
54 #include "conversion/conversion.h"
General class for floating point numbers with different formats.
carl is the main namespace for the library.
std::uint64_t uint
Definition: numbers.h:16
std::int64_t sint
Definition: numbers.h:17