From 8095fbf982151066e6bfa1e944d17fcb9b5905ea Mon Sep 17 00:00:00 2001 From: ReneSac Date: Sun, 6 Apr 2014 15:07:20 -0300 Subject: Removed trailing ';'. --- lib/pure/math.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/pure') 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. -- cgit 1.4.1-2-gfad0