diff options
Diffstat (limited to 'docs/CODING_STYLE.md')
-rw-r--r-- | docs/CODING_STYLE.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md index a91e119c4a..7bad3f5d2e 100644 --- a/docs/CODING_STYLE.md +++ b/docs/CODING_STYLE.md @@ -1,3 +1,7 @@ +--- +title: Coding Style +--- + # Coding Style - 8ch indent, no tabs, except for files in `man/` which are 2ch indent, @@ -126,8 +130,8 @@ } ``` -- Unless you allocate an array, `double` is always the better choice - than `float`. Processors speak `double` natively anyway, so this is +- Unless you allocate an array, `double` is always a better choice + than `float`. Processors speak `double` natively anyway, so there is no speed benefit, and on calls like `printf()` `float`s get promoted to `double`s anyway, so there is no point. |