diff options
-rw-r--r-- | luaconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.236 2014/12/19 13:31:12 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.237 2014/12/26 14:44:44 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 | */ |
@@ -476,7 +476,7 @@ | |||
476 | #include <math.h> | 476 | #include <math.h> |
477 | 477 | ||
478 | /* floor division (defined as 'floor(a/b)') */ | 478 | /* floor division (defined as 'floor(a/b)') */ |
479 | #define luai_numidiv(L,a,b) ((void)L, l_mathop(floor)((a)/(b))) | 479 | #define luai_numidiv(L,a,b) ((void)L, l_mathop(floor)(luai_numdiv(L,a,b))) |
480 | 480 | ||
481 | /* | 481 | /* |
482 | ** module: defined as 'a - floor(a/b)*b'; the previous definition gives | 482 | ** module: defined as 'a - floor(a/b)*b'; the previous definition gives |