Numbers
- Rust numerical types
- Numerical operations on integers
- Divide integers and get float
- Rust type mismatch in numerical operation
- Increment integers - augmented assignment
- unfit in i8 - compile time
- unfit in i8 - run time - overflow
- How to find code that might overflow / underflow?
- Handle overflow and underflow - saturating
- Handle overflow and underflow - checked
- Handle overflow and underflow - overflowing
- Handle overflow and underflow - carrying
- Handle overflow and underflow - strict
- Compare integers
- Compare integers in and if-statement
- Exponent - power
- Exponent protecting against overflow - checked_pow, saturating_pow
- Square root (sqrt)
- Square root of integer numbers
- Floating point imprecision
- Compare floating point numbers
- rounding float
- Compare floating point numbers by rounding
- Approximately compare floating point numbers
- NaN - Not a Number
- Infinite floating point numbers
- Complex numbers
- Functions and test adding numbers
- Exercise: Rectangle ARGS with protection
- Exercise: Rectangle add tests
- Exercise: Circle add tests
- Solution: Rectangle ARGS with protection