mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-14 02:34:17 +02:00
more comment spacing
This commit is contained in:
@@ -37,7 +37,7 @@ This is based on Julia 1.0.0
|
|||||||
8 - 1 # => 7
|
8 - 1 # => 7
|
||||||
10 * 2 # => 20
|
10 * 2 # => 20
|
||||||
35 / 5 # => 7.0
|
35 / 5 # => 7.0
|
||||||
5 / 2 # => 2.5 # dividing an Int by an Int always results in a Float
|
5 / 2 # => 2.5 # dividing integers always results in a Float64
|
||||||
div(5, 2) # => 2 # for a truncated result, use div
|
div(5, 2) # => 2 # for a truncated result, use div
|
||||||
5 \ 35 # => 7.0
|
5 \ 35 # => 7.0
|
||||||
2^2 # => 4 # power, not bitwise xor
|
2^2 # => 4 # power, not bitwise xor
|
||||||
|
Reference in New Issue
Block a user