Skip to main content

D38s12

Type Alias D38s12 

Source
pub type D38s12 = D38<12>;
Expand description

Scale alias: D38<12>. 1 LSB = 10^-12 (1 pm at mm units). Range ~+/-1.7e14 model units.

This is the primary concrete alias for general use. At SCALE = 12:

  • 1 LSB is 10^-12 model units.
  • The representable integer range is approximately +/-1.7e14 model units.
  • Squared-component operations (e.g. dot products) overflow beyond roughly 13,000 km at mm units.

§Precision

N/A: constant value, no arithmetic performed.

Aliased Type§

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

Tuple Fields§

§0: i128