Skip to main content

FloatType

Type Alias FloatType 

Source
pub type FloatType = f64;
Expand description

Type of the floats used throughout the simulation.

If the f64 feature is enabled (the default), this will be f64. Otherwise, f32 will be used.

Using f32 instead if f64 provides some performance gain at the cost of mathematical precision.