- Rust Programming By Example
- Guillaume Gomez Antoni Boucher
- 32字
- 2021-07-02 19:12:56
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.