Adds another float example

This commit is contained in:
Andrew Cumming 2023-08-31 22:07:39 -04:00
parent 1052fab1b8
commit ff6c4f5543

View file

@ -45,6 +45,8 @@ Here are some floating point expressions to evaluate to illustrate roundoff:
- `1.1 + 2.2 - 3.3`
- `0.1 == 0.10000001`
- `0.1 == 0.10000000000000001`
- `3 + 1e-15`
- `3 + 1e-16`
- `(0.7 + 0.1) + 0.3`
- `0.7 + (0.1 + 0.3)`
```