Crate peano_axioms
source ·Expand description
Type-level numbers based on an extension of the Peano axioms.
Macros§
- Reverse polish notation representation for type-level numerical expressions.
Structs§
- A ratio of two numbers.
- The successor to some number.
- The predecessor to some number.
- The number zero.
Traits§
- Type-level absolute value.
- Type-level exponentiation.
- Type-level greatest common divisor.
- Type-level inverse.
- Type-level least common multiple.
- Negative type-level numbers.
- Non-negative type-level numbers.
- Non-positive type-level numbers.
- Non-zero type-level numbers.
- Positive type-level numbers.
- Types which can be converted to a runtime value.
- Types which are part of a sequence.
- Simplification of redundancies in type-level numbers.
- Type level fraction-to-integer conversion.
Type Aliases§
- The absolute value of
T
. - The difference between
T
andU
. - The number 8.
T
raised to the power ofU
.- The number 5.
- The number 4.
- The greatest common divisor of
T
andU
. - The least common multiple of
T
andU
. - The negation of
Self
. - The number 9.
- The number 1.
- The product of
T
andU
. - The quotient of
T
andU
. - The reciprocal of
T
. - The remainder when dividing
T
byU
. - The number 7.
- The simplification of
T
. - The number 6.
- The sum of
T
andU
. - The number 10.
- The number 3.
- The number 2.