diff options
Diffstat (limited to 'src/docs/float_arithmetic.txt')
| -rw-r--r-- | src/docs/float_arithmetic.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/docs/float_arithmetic.txt b/src/docs/float_arithmetic.txt new file mode 100644 index 00000000000..1f9bce5abd5 --- /dev/null +++ b/src/docs/float_arithmetic.txt @@ -0,0 +1,11 @@ +### 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; +``` \ No newline at end of file |
