diff options
| author | Joe Savage <joe@reinterpretcast.com> | 2015-08-29 11:44:41 +0100 | 
|---|---|---|
| committer | Joe Savage <joe@reinterpretcast.com> | 2015-08-29 11:44:41 +0100 | 
| commit | 3d0687027a450d1778e6f7336f96962fa385ec53 (patch) | |
| tree | 220865d34b632e7a3f635703ef4448d7d135cb84 | |
| parent | f4ab326784f571e3bb532f5f60a87fc1aea47552 (diff) | |
add missing semicolons in c.html.markdown
| -rw-r--r-- | c.html.markdown | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/c.html.markdown b/c.html.markdown index d3f20eda..e2e15620 100644 --- a/c.html.markdown +++ b/c.html.markdown @@ -183,8 +183,8 @@ int main() {    i1 / i2; // => 0 (0.5, but truncated towards 0)    // You need to cast at least one integer to float to get a floating-point result -  (float)i1 / i2 // => 0.5f -  i1 / (double)i2 // => 0.5 // Same with double +  (float)i1 / i2; // => 0.5f +  i1 / (double)i2; // => 0.5 // Same with double    f1 / f2; // => 0.5, plus or minus epsilon    // Floating-point numbers and calculations are not exact | 
