Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,5 @@
i = 1
repeat while i>0
put i
i = i+1
end repeat

View file

@ -0,0 +1,2 @@
put the maxInteger
-- 2147483647

View file

@ -0,0 +1,4 @@
put the maxInteger+1
-- -2147483648
put the maxInteger+2
-- -2147483647

View file

@ -0,0 +1,17 @@
the floatPrecision = 0 -- forces floats to be printed without fractional digits
put float(the maxInteger)+1
-- 2147483648
-- max. whole value that can be stored as 8-byte-float precisely
maxFloat = power(2,53) -- 9007199254740992.0
i = 1.0
repeat while i<=maxFloat
put i
i = i+1
end repeat
-- 1
-- 2
-- 3
-- ...