rust/src/docs/float_arithmetic.txt
2022-09-09 13:36:26 +02:00

11 lines
No EOL
199 B
Text

### What it does
Checks for float arithmetic.
### Why is this bad?
For some embedded systems or kernel development, it
can be useful to rule out floating-point numbers.
### Example
```
a + 1.0;
```