Removed trailing ';'.

This commit is contained in:
ReneSac
2014-04-06 15:07:20 -03:00
parent 83661492e7
commit 8095fbf982

View File

@@ -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.