aboutsummaryrefslogtreecommitdiff
path: root/ltm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-06-02 16:11:24 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-06-02 16:11:24 -0300
commited1fe28bb8c98382412eab8cfe24fe3dc5adf8f3 (patch)
tree69e88feb16169f9c24e13fcffbf860e83f87add0 /ltm.c
parent6645bb2df44d4fc6c7aea8347a559357b657f80a (diff)
downloadlua-ed1fe28bb8c98382412eab8cfe24fe3dc5adf8f3.tar.gz
lua-ed1fe28bb8c98382412eab8cfe24fe3dc5adf8f3.tar.bz2
lua-ed1fe28bb8c98382412eab8cfe24fe3dc5adf8f3.zip
When comparing integers with floats, use float as common type when
possible (i.e., when integer fits in a float without losses); seems to be more efficient in architectures with native support for used Lua numbers
Diffstat (limited to 'ltm.c')
0 files changed, 0 insertions, 0 deletions