Rust Programming By Example
上QQ阅读APP看书,第一时间看更新

Floating-point types

There are two floating-point types: f32 and f64, the latter being the default. The number following f represents the number of bits for the type. An example value is 0.31415e1.