lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 4ccc4578b395f1a3f881e18cdbafa77b8a8d9b99
parent 5e8c162b6cb238ecfc22c105f7577a47c327f307
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Mon,  9 Feb 2015 13:41:31 -0200

detail (use 'l_floor' instead of 'l_mathop(floor)')

Diffstat:
Mllimits.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llimits.h b/llimits.h @@ -1,5 +1,5 @@ /* -** $Id: llimits.h,v 1.129 2015/01/16 17:15:52 roberto Exp roberto $ +** $Id: llimits.h,v 1.130 2015/02/05 17:15:33 roberto Exp roberto $ ** Limits, basic types, and some other 'installation-dependent' definitions ** See Copyright Notice in lua.h */ @@ -248,7 +248,7 @@ typedef unsigned long Instruction; /* floor division (defined as 'floor(a/b)') */ #if !defined(luai_numidiv) -#define luai_numidiv(L,a,b) ((void)L, l_mathop(floor)(luai_numdiv(L,a,b))) +#define luai_numidiv(L,a,b) ((void)L, l_floor(luai_numdiv(L,a,b))) #endif /* float division */