lua/testes
Roberto Ierusalimschy 5382a22e0e Corrections in the implementation of '%' for floats.
The multiplication (m*b) used to test whether 'm' is non-zero and
'm' and 'b' have different signs can underflow for very small numbers,
giving a wrong result. The use of explicit comparisons solves this
problem. This commit also adds several new tests for '%' (both for
floats and for integers) to exercise more corner cases, such as
very large and very small values.
2018-08-28 12:36:58 -03:00
..
libs Added manual and tests for version 5.4-w2 2018-07-09 12:33:01 -03:00
all.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
api.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
attrib.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
big.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
bitwise.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
bwcoercion.lua Added manual and tests for version 5.4-w2 2018-07-09 12:33:01 -03:00
calls.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
closure.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
code.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
constructs.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
coroutine.lua Deprecated the emulation of '__le' using '__lt' 2018-08-24 10:17:54 -03:00
db.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
errors.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
events.lua Deprecated the emulation of '__le' using '__lt' 2018-08-24 10:17:54 -03:00
files.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
gc.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
gengc.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
goto.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
literals.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
locals.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
main.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
math.lua Corrections in the implementation of '%' for floats. 2018-08-28 12:36:58 -03:00
nextvar.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
pm.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
sort.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
strings.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
tpack.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
utf8.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
vararg.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
verybig.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00