Crate dashu

Source
Expand description

The meta crate that re-exports all dashu numeric types.

Modules§

base
Defintions of common traits
float
Arbitrary precision floating point number
integer
Arbitrary precision integer number
rational
Arbitrary precision rational number

Macros§

dbig
Create an arbitrary precision float number (dashu_float::DBig) with base 10 rounding to the nearest.
fbig
Create an arbitrary precision float number (dashu_float::FBig) with base 2 rounding towards zero.
ibig
Create an arbitrary precision signed integer (dashu_int::IBig)
rbig
Create an arbitrary precision rational number (dashu_ratio::RBig or dashu_ratio::Relaxed).
static_dbig
Create an arbitrary precision float number (dashu_float::DBig), with base 10 rounding to the nearest, as a static reference.
static_fbig
Create an arbitrary precision float number (dashu_float::FBig), with base 2 rounding towards zero, as a static reference.
static_ibig
Create an arbitrary precision signed integer (dashu_int::IBig) as a static reference.
static_rbig
Create an arbitrary precision rational number (dashu_ratio::RBig or dashu_ratio::Relaxed) as a static reference.
static_ubig
Create an arbitrary precision unsigned integer (dashu_int::UBig) as a static reference.
ubig
Create an arbitrary precision unsigned integer (dashu_int::UBig)

Type Aliases§

Decimal
A verbose alias for DBig (base 10, rounding to the nearest)
Integer
A verbose alias for IBig
Natural
A verbose alias for UBig
Rational
A verbose alias for RBig
Real
A verbose alias for FBig (base 2, rounding towards zero)