aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-02-09 13:41:56 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-02-09 13:41:56 -0200
commit4ccc4578b395f1a3f881e18cdbafa77b8a8d9b99 (patch)
tree684ded0607c7914d4e67fbddb5a7d40e4963ebba
parent5e8c162b6cb238ecfc22c105f7577a47c327f307 (diff)
downloadlua-4ccc4578b395f1a3f881e18cdbafa77b8a8d9b99.tar.gz
lua-4ccc4578b395f1a3f881e18cdbafa77b8a8d9b99.tar.bz2
lua-4ccc4578b395f1a3f881e18cdbafa77b8a8d9b99.zip
detail (use 'l_floor' instead of 'l_mathop(floor)')
-rw-r--r--llimits.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llimits.h b/llimits.h
index c88fd06f..348cd9a1 100644
--- a/llimits.h
+++ b/llimits.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llimits.h,v 1.129 2015/01/16 17:15:52 roberto Exp roberto $ 2** $Id: llimits.h,v 1.130 2015/02/05 17:15:33 roberto Exp roberto $
3** Limits, basic types, and some other 'installation-dependent' definitions 3** Limits, basic types, and some other 'installation-dependent' definitions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -248,7 +248,7 @@ typedef unsigned long Instruction;
248 248
249/* floor division (defined as 'floor(a/b)') */ 249/* floor division (defined as 'floor(a/b)') */
250#if !defined(luai_numidiv) 250#if !defined(luai_numidiv)
251#define luai_numidiv(L,a,b) ((void)L, l_mathop(floor)(luai_numdiv(L,a,b))) 251#define luai_numidiv(L,a,b) ((void)L, l_floor(luai_numdiv(L,a,b)))
252#endif 252#endif
253 253
254/* float division */ 254/* float division */