nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compiler: Refactor `AbstractRuntimeFunction`
[nit.git]
/
tests
/
shootout_nsieve.nit
diff --git
a/tests/shootout_nsieve.nit
b/tests/shootout_nsieve.nit
index
109b70f
..
1e7eda6
100644
(file)
--- a/
tests/shootout_nsieve.nit
+++ b/
tests/shootout_nsieve.nit
@@
-59,7
+59,7
@@
end
fun test(n: Int)
do
- var m = 10000.lshift(n)
+ var m = 10000 << n
print("Primes up to {m} {nsieve(m)}")
end