Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
RationalNumberForward.h
Go to the documentation of this file.
1#pragma once
2
3#include "storm-config.h"
4
5#if defined(STORM_HAVE_GMP)
6// The small gmp.h header is always included.
7#include <gmp.h>
8template<typename U, typename V>
9class __gmp_expr;
10#endif
11
12#if defined(STORM_HAVE_CLN)
13namespace cln {
14class cl_RA;
15class cl_I;
16} // namespace cln
17#endif
18
19namespace carl {
20template<typename Number>
22}
23
24namespace storm {
25#if defined(STORM_HAVE_CLN)
26typedef cln::cl_RA ClnRationalNumber;
27typedef cln::cl_I ClnIntegerNumber;
28#endif
29#if defined(STORM_HAVE_GMP)
30typedef __gmp_expr<mpq_t, mpq_t> GmpRationalNumber;
31typedef __gmp_expr<mpz_t, mpz_t> GmpIntegerNumber;
32#endif
34
35#if defined(STORM_HAVE_CLN) && defined(STORM_USE_CLN_EA)
36typedef ClnRationalNumber RationalNumber;
37#elif defined(STORM_HAVE_GMP) && !defined(STORM_USE_CLN_EA)
38typedef GmpRationalNumber RationalNumber;
39#elif defined(STORM_USE_CLN_EA)
40#error CLN is to be used, but is not available.
41#else
42#error GMP is to be used, but is not available.
43#endif
44} // namespace storm
LabParser.cpp.
Definition cli.cpp:18
carl::Interval< double > Interval