In floating point arithmetic, $0.1 + 0.2$ evaluates to $0.30000000000000004$ due to rounding errors.
Terms
| Term | This example | Why |
|---|---|---|
error |
✓ | |
exception |
✗ | |
| bug | ✗ |
| Term | This example | Why |
|---|---|---|
error |
✓ | |
exception |
✗ | |
| bug | ✗ |