Module num

Module num 

Source

Re-exportsยง

pub use self::decimal::Decimal;

Modulesยง

barrett_reduction ๐Ÿ”’
bounded ๐Ÿ”’
complex ๐Ÿ”’
decimal
discrete_steps ๐Ÿ”’
double_double ๐Ÿ”’
dual_number ๐Ÿ”’
float ๐Ÿ”’
integer ๐Ÿ”’
mint ๐Ÿ”’
modint
mint_basic
montgomery
quad_double ๐Ÿ”’
rational ๐Ÿ”’
urational ๐Ÿ”’
zero_one ๐Ÿ”’

Structsยง

BarrettReduction
Complex
DoubleDouble
DualNumber
ExtendedGcd
extended_gcd(a,b): ax + by = g = gcd(a,b)
Float32
Float64
MInt
QuadDouble
ref: https://na-inet.jp/na/qd_ja.pdf
Rational
Saturating
Wrapper type of arithmetic saturating_* operations.
URational
Wrapping
Wrapper type of arithmetic wrapping_* operations.

Traitsยง

Barrettable
BinaryRepr
Trait for operations of integer in binary representation.
Bounded
Trait for max/min bounds
DiscreteSteps
Float
IntBase
Trait for basic primitive integer operations.
MIntBase
MIntConvert
One
RangeBoundsExt
Saturatingable
Signed
Trait for signed integer operations.
Unsigned
Trait for unsigned integer operations.
Wrappingable
Zero