aboutsummaryrefslogtreecommitdiff
path: root/testes/math.lua
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-02-27 12:59:22 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-02-27 12:59:22 -0300
commit6eb53b752617fae9e1329bfe2cfecdcbb593c398 (patch)
treec392ef632bbcfbf7b3716f5c6c17b06617bca8da /testes/math.lua
parent9b7987a9d1471ba94764286b28e0998f73deb46a (diff)
downloadlua-6eb53b752617fae9e1329bfe2cfecdcbb593c398.tar.gz
lua-6eb53b752617fae9e1329bfe2cfecdcbb593c398.tar.bz2
lua-6eb53b752617fae9e1329bfe2cfecdcbb593c398.zip
Details
Several details in code (e.g., moving a variable to the most inner scope that encloses its uses), comments, parameter names, extra tests.
Diffstat (limited to 'testes/math.lua')
-rw-r--r--testes/math.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/testes/math.lua b/testes/math.lua
index 7248787b..930221e3 100644
--- a/testes/math.lua
+++ b/testes/math.lua
@@ -960,7 +960,10 @@ do
960 aux(-10,0) 960 aux(-10,0)
961 aux(1, 6) 961 aux(1, 6)
962 aux(1, 2) 962 aux(1, 2)
963 aux(1, 13)
964 aux(1, 31)
963 aux(1, 32) 965 aux(1, 32)
966 aux(1, 33)
964 aux(-10, 10) 967 aux(-10, 10)
965 aux(-10,-10) -- unit set 968 aux(-10,-10) -- unit set
966 aux(minint, minint) -- unit set 969 aux(minint, minint) -- unit set
@@ -998,6 +1001,7 @@ do
998 end 1001 end
999 aux(0, maxint) 1002 aux(0, maxint)
1000 aux(1, maxint) 1003 aux(1, maxint)
1004 aux(3, maxint // 3)
1001 aux(minint, -1) 1005 aux(minint, -1)
1002 aux(minint // 2, maxint // 2) 1006 aux(minint // 2, maxint // 2)
1003 aux(minint, maxint) 1007 aux(minint, maxint)