nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: add nitweb
[nit.git]
/
tests
/
shootout_nsieve_bytes_alt.nit
diff --git
a/tests/shootout_nsieve_bytes_alt.nit
b/tests/shootout_nsieve_bytes_alt.nit
index
ab5c703
..
b5ad0cb
100644
(file)
--- a/
tests/shootout_nsieve_bytes_alt.nit
+++ b/
tests/shootout_nsieve_bytes_alt.nit
@@
-55,7
+55,7
@@
end
fun test(n: Int)
do
- var m = 10000.lshift(n)
+ var m = 10000 << n
print("Primes up to {m} {nsieve(m)}")
end