Skip to main content

D38s38

Type Alias D38s38 

Source
pub type D38s38 = D38<38>;
Expand description

Scale alias: D38<38>. 1 LSB = 10^-38. Range ~+/-1.7 (sub-unit dimensionless ratios).

This is the maximum supported scale. 10^38 < i128::MAX < 10^39, so SCALE = 39 is not supported (multiplier() would overflow). Math constants lose precision above SCALE = 35; see D38s36.

§Precision

N/A: constant value, no arithmetic performed.

Aliased Type§

#[repr(transparent)]
pub struct D38s38(pub i128);

Tuple Fields§

§0: i128