diff options
author | ReneSac <reneduani@yahoo.com.br> | 2014-04-06 15:07:20 -0300 |
---|---|---|
committer | ReneSac <reneduani@yahoo.com.br> | 2014-04-06 15:07:20 -0300 |
commit | 8095fbf982151066e6bfa1e944d17fcb9b5905ea (patch) | |
tree | 37874610684b1b8f277e9d5d02be90d5d7b416ff /lib/pure | |
parent | 83661492e72cba09078ed0a846789228543c29a9 (diff) | |
download | Nim-8095fbf982151066e6bfa1e944d17fcb9b5905ea.tar.gz |
Removed trailing ';'.
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/math.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/math.nim b/lib/pure/math.nim index 8934b54ff..d258e9a7c 100644 --- a/lib/pure/math.nim +++ b/lib/pure/math.nim @@ -83,7 +83,7 @@ proc fac*(n: int): int {.noSideEffect.} = proc isPowerOfTwo*(x: int): bool {.noSideEffect.} = ## returns true, if `x` is a power of two, false otherwise. ## Zero and negative numbers are not a power of two. - return (x != 0) and ((x and (x - 1)) == 0) ; + return (x != 0) and ((x and (x - 1)) == 0) proc nextPowerOfTwo*(x: int): int {.noSideEffect.} = ## returns `x` rounded up to the nearest power of two. |