Lets Learn Rust - 7 Understanding Floating Point Numbers

1 month ago
3

G'day guys

In this video I talk about floating point numbers, what types are available and when and where to use each one.

We talk about the following data types specifically:-

- f32
- f64 - The default integer type.

Important Times

00:00 - Introduction
00:20 - Declaring and instantiating floating point numbers
01:50 - 32 vs 64 bit floats. When should you use them?
03:06 - A look at sizes and ranges
05:55 - Conclusion

Loading comments...