nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: nitrpg: periodize stats
[nit.git]
/
tests
/
shootout_mandelbrot.nit
diff --git
a/tests/shootout_mandelbrot.nit
b/tests/shootout_mandelbrot.nit
index
fb6b5dd
..
f8482b2
100644
(file)
--- a/
tests/shootout_mandelbrot.nit
+++ b/
tests/shootout_mandelbrot.nit
@@
-25,7
+25,7
@@
var iter = 20
var limit = 2.0
if args.length != 1 then
var limit = 2.0
if args.length != 1 then
- printn("Usage: shootout_mandelbrot <size>\n")
+ print("Usage: shootout_mandelbrot <size>")
return
end
return
end
@@
-35,7
+35,7
@@
var h = w
var byte_acc = 0
var bit_num = 0
var byte_acc = 0
var bit_num = 0
-printn("P4\n{w} {h}\n")
+print("P4\n{w} {h}")
for y in [0..h[ do
for x in [0..w[ do
for y in [0..h[ do
for x in [0..w[ do
@@
-73,3
+73,4
@@
for y in [0..h[ do
end
end
end
end
end
end
+print ""