diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-12-05 13:31:07 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-12-05 13:31:07 -0300 |
commit | 2d92102dee88a81711dca8e8ea3ef0ea9d732283 (patch) | |
tree | ec1573ef5847b8d1788acfe5aa4137b0b92b70b7 /lmathlib.c | |
parent | 490ecfcaa1f25fcc17f9dcb0ed7216da54a391e3 (diff) | |
download | lua-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |