diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-11-23 12:23:45 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-11-23 12:23:45 -0200 |
commit | 84e32ad2ebd6bd160c1320456743a5b1d8f233e9 (patch) | |
tree | c5a32eaf7577c99e7598e9de1385a6b53522f04b /ltests.h | |
parent | 35296e1fde705b3ac8356a4f4ce426497cf7b64c (diff) | |
download | lua-84e32ad2ebd6bd160c1320456743a5b1d8f233e9.tar.gz lua-84e32ad2ebd6bd160c1320456743a5b1d8f233e9.tar.bz2 lua-84e32ad2ebd6bd160c1320456743a5b1d8f233e9.zip |
Added opcodes for arithmetic with K operands
Added opcodes for all seven arithmetic operators with K operands
(that is, operands that are numbers in the array of constants of
the function). They cover the cases of constant float operands
(e.g., 'x + .0.0', 'x^0.5') and large integer operands (e.g.,
'x % 10000').
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -119,7 +119,6 @@ LUA_API void *debug_realloc (void *ud, void *block, | |||
119 | #undef LUAL_BUFFERSIZE | 119 | #undef LUAL_BUFFERSIZE |
120 | #define LUAL_BUFFERSIZE 23 | 120 | #define LUAL_BUFFERSIZE 23 |
121 | #define MINSTRTABSIZE 2 | 121 | #define MINSTRTABSIZE 2 |
122 | #define MAXINDEXRK 1 | ||
123 | #define MAXIWTHABS 3 | 122 | #define MAXIWTHABS 3 |
124 | 123 | ||
125 | 124 | ||