aboutsummaryrefslogtreecommitdiff
path: root/lmathlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-12-05 13:31:07 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-12-05 13:31:07 -0300
commit2d92102dee88a81711dca8e8ea3ef0ea9d732283 (patch)
treeec1573ef5847b8d1788acfe5aa4137b0b92b70b7 /lmathlib.c
parent490ecfcaa1f25fcc17f9dcb0ed7216da54a391e3 (diff)
downloadlua-2d92102dee88a81711dca8e8ea3ef0ea9d732283.tar.gz
lua-2d92102dee88a81711dca8e8ea3ef0ea9d732283.tar.bz2
lua-2d92102dee88a81711dca8e8ea3ef0ea9d732283.zip
'l_mathlim' renamed to 'l_floatatt'
That macro is applied to float attributes, not to limits.
Diffstat (limited to 'lmathlib.c')
-rw-r--r--lmathlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lmathlib.c b/lmathlib.c
index f49eb318..7197fc59 100644
--- a/lmathlib.c
+++ b/lmathlib.c
@@ -249,7 +249,7 @@ static int math_type (lua_State *L) {
249*/ 249*/
250 250
251/* number of binary digits in the mantissa of a float */ 251/* number of binary digits in the mantissa of a float */
252#define FIGS l_mathlim(MANT_DIG) 252#define FIGS l_floatatt(MANT_DIG)
253 253
254#if FIGS > 64 254#if FIGS > 64
255/* there are only 64 random bits; use them all */ 255/* there are only 64 random bits; use them all */