diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-12-19 11:33:06 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-12-19 11:33:06 -0200 |
| commit | 3ae21a352c4cad550a97974c68cd57c3abc39570 (patch) | |
| tree | f5659b6269b6ccbe3da7ca4dffa0e9633cedba3a | |
| parent | 570143bf886f317a3081ff23993f914e1144637d (diff) | |
| download | lua-3ae21a352c4cad550a97974c68cd57c3abc39570.tar.gz lua-3ae21a352c4cad550a97974c68cd57c3abc39570.tar.bz2 lua-3ae21a352c4cad550a97974c68cd57c3abc39570.zip | |
detail (in test for 'luai_numinvalidop', use a round float)
| -rw-r--r-- | ltests.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.h,v 2.44 2014/12/09 15:00:17 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 2.45 2014/12/09 17:17:40 roberto Exp roberto $ |
| 3 | ** Internal Header for Debugging of the Lua Implementation | 3 | ** Internal Header for Debugging of the Lua Implementation |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -112,7 +112,7 @@ LUA_API void *debug_realloc (void *ud, void *block, | |||
| 112 | 112 | ||
| 113 | /* check macro 'luai_numinvalidop' */ | 113 | /* check macro 'luai_numinvalidop' */ |
| 114 | #undef luai_numinvalidop | 114 | #undef luai_numinvalidop |
| 115 | #define luai_numinvalidop(op,a,b) (op == LUA_OPADD && a == 1.1 && b == 1) | 115 | #define luai_numinvalidop(op,a,b) (op == LUA_OPADD && a == 1.5 && b == 1) |
| 116 | 116 | ||
| 117 | #endif | 117 | #endif |
| 118 | 118 | ||
