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
2018-07-09 12:33:01 -03:00
2018-06-08 13:23:18 -03:00
2018-07-18 11:43:45 -03:00
2018-07-12 15:56:44 -03:00
2018-06-18 15:25:19 -03:00
Description
No description provided
13 MiB
Languages
C 66.7%
Lua 32.6%
Makefile 0.6%
Shell 0.1%