'l_tg' was renamed to 'l_mathop' and this use was not corrected at

the time
This commit is contained in:
Roberto Ierusalimschy
2013-02-20 11:08:56 -03:00
parent d0c038da07
commit b559aed2d3
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: llimits.h,v 1.101 2012/10/02 17:32:44 roberto Exp roberto $
** $Id: llimits.h,v 1.102 2013/01/29 16:00:40 roberto Exp roberto $
** Limits, basic types, and some other `installation-dependent' definitions
** See Copyright Notice in lua.h
*/
@@ -282,7 +282,7 @@ union luai_Cast { double l_d; LUA_INT32 l_p[2]; };
#include <math.h>
#define luai_hashnum(i,n) { int e; \
n = l_tg(frexp)(n, &e) * (lua_Number)(INT_MAX - DBL_MAX_EXP); \
n = l_mathop(frexp)(n, &e) * (lua_Number)(INT_MAX - DBL_MAX_EXP); \
lua_number2int(i, n); i += e; }
#endif