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

This commit is contained in:
Roberto Ierusalimschy 2015-02-09 13:41:56 -02:00
parent 5e8c162b6c
commit 4ccc4578b3
1 changed files with 2 additions and 2 deletions

View File

@ -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 */