diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-12-29 14:49:25 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-12-29 14:49:25 -0200 |
commit | 8e5290d81eb0ff32a4d1d41685f682ab62498da5 (patch) | |
tree | 92a6f2b5305eb8c3e29b044265d80e5324ad0380 /lgc.c | |
parent | a1c37f834ae433e05409cd30bd9450d5e8707e7a (diff) | |
download | lua-8e5290d81eb0ff32a4d1d41685f682ab62498da5.tar.gz lua-8e5290d81eb0ff32a4d1d41685f682ab62498da5.tar.bz2 lua-8e5290d81eb0ff32a4d1d41685f682ab62498da5.zip |
all "divisions" (div,idiv,mod) by zero are not folded, to avoid
problems during compilation + does not fold zero results, as they
can collapse with -0.0 and the ANSI test to distinguish both needs
a division by zero (which we are trying to avoid) + removed macro
'luai_numinvalidop' (as its main use case were divisions by zero)
Diffstat (limited to 'lgc.c')
0 files changed, 0 insertions, 0 deletions