'l_mathlim' renamed to 'l_floatatt'

That macro is applied to float attributes, not to limits.
This commit is contained in:
Roberto Ierusalimschy
2019-12-05 13:31:07 -03:00
parent 490ecfcaa1
commit 2d92102dee
4 changed files with 8 additions and 8 deletions

View File

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