|
carl
25.04
Computer ARithmetic Library
|
All integral types that can (in theory) represent all integers are marked with is_integer_type.
More...

Modules | |
| is_subset_of_integers_type | |
All integral types are marked with is_subset_of_integers_type. | |
Data Structures | |
| struct | carl::is_integer_type< cln::cl_I > |
| States that cln::cl_I has the trait is_integer_type . More... | |
| struct | carl::is_integer_type< mpz_class > |
| States that mpz_class has the trait is_integer_type . More... | |
| struct | carl::is_integer_type< T > |
| States if a type is an integer type. More... | |
All integral types that can (in theory) represent all integers are marked with is_integer_type.
To be an integer type, the type must satisfy the following conditions:
operator+(), operator-() and operator*() which are closed.div(): Performs an integer division, asserting that the remainder is zero.quotient(): Calculates the quotient of an integer division.remainder(): Calculates the remainder of an integer division.mod(): Calculated the modulus of an integer.operator/() shall be an alias for quotient(). | struct carl::is_integer_type< cln::cl_I > |
States that cln::cl_I has the trait is_integer_type .
<>
Definition at line 20 of file typetraits.h.


| struct carl::is_integer_type< mpz_class > |
States that mpz_class has the trait is_integer_type .
<>
Definition at line 21 of file typetraits.h.


| struct carl::is_integer_type |
States if a type is an integer type.
Default is false.
Definition at line 203 of file typetraits.h.

