Crate relp_num[][src]

Expand description

relp-num

Number types for the RELP crate.

Macros

Helper macro for tests.

Shorthand for creating a rational number in tests.

Shorthand for creating a rational number in tests.

Shorthand for creating a rational number in tests.

Shorthand for creating a rational number in tests.

Shorthand for creating a rational number in tests.

Shorthand for creating a rational number in tests.

Structs

Prime factorization representation of a nonzero rational number.

Non zero unsigned big integer.

A type representing the value 1.

Unsigned big integer.

Zero

Enums

Binary

Sign of a nonzero value.

Sign with a zero variant.

Traits

Absolute value of a number.

A generic trait for converting a number to a value.

Nonzero values

Creating a factorization of an integer or rational number.

A signed number that can have a nonzero value.

Determining whether a number is a prime.

Signed numbers

Type Definitions

Non zero rational number.

Non zero rational number.

Non zero rational number.

Non zero rational number.

Non zero rational number.

A non zero arbitrary precision type.

A signed ratio between two small integers.

A signed ratio between two small integers.

A signed ratio between two small integers.

A signed ratio between two small integers.

A signed ratio between two small integers.

An arbitrary precision type.

Trait aliases

Basic field operations with Self and with references to Self.

A reference to a variable that is in a Field.

The simplex algorithm is defined over the ordered fields.

A reference to an ordered field.