diff options
| -rw-r--r-- | luaconf.h | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: luaconf.h,v 1.177 2013/04/25 13:52:13 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.178 2013/04/26 13:08:29 roberto Exp roberto $ |
| 3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -435,7 +435,6 @@ | |||
| 435 | /* the following operations need the math library */ | 435 | /* the following operations need the math library */ |
| 436 | #if defined(lobject_c) || defined(lvm_c) | 436 | #if defined(lobject_c) || defined(lvm_c) |
| 437 | #include <math.h> | 437 | #include <math.h> |
| 438 | #define luai_numidiv(L,a,b) (l_mathop(floor)((a)/(b))) | ||
| 439 | #define luai_nummod(L,a,b) ((a) - l_mathop(floor)((a)/(b))*(b)) | 438 | #define luai_nummod(L,a,b) ((a) - l_mathop(floor)((a)/(b))*(b)) |
| 440 | #define luai_numpow(L,a,b) (l_mathop(pow)(a,b)) | 439 | #define luai_numpow(L,a,b) (l_mathop(pow)(a,b)) |
| 441 | #endif | 440 | #endif |
