summaryrefslogtreecommitdiff
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-github-2d92102dee88a81711dca8e8ea3ef0ea9d732283.tar.gz
'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) {
*/
/* number of binary digits in the mantissa of a float */
-#define FIGS l_mathlim(MANT_DIG)
+#define FIGS l_floatatt(MANT_DIG)
#if FIGS > 64
/* there are only 64 random bits; use them all */