From 2d92102dee88a81711dca8e8ea3ef0ea9d732283 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 5 Dec 2019 13:31:07 -0300 Subject: 'l_mathlim' renamed to 'l_floatatt' That macro is applied to float attributes, not to limits. --- luaconf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 8f13743b..bdf927e7 100644 --- a/luaconf.h +++ b/luaconf.h @@ -398,7 +398,7 @@ @@ LUA_NUMBER is the floating-point type used by Lua. @@ LUAI_UACNUMBER is the result of a 'default argument promotion' @@ over a floating number. -@@ l_mathlim(x) corrects limit name 'x' to the proper float type +@@ l_floatatt(x) corrects float attribute 'x' to the proper float type ** by prefixing it with one of FLT/DBL/LDBL. @@ LUA_NUMBER_FRMLEN is the length modifier for writing floats. @@ LUA_NUMBER_FMT is the format for writing floats. @@ -437,7 +437,7 @@ #define LUA_NUMBER float -#define l_mathlim(n) (FLT_##n) +#define l_floatatt(n) (FLT_##n) #define LUAI_UACNUMBER double @@ -453,7 +453,7 @@ #define LUA_NUMBER long double -#define l_mathlim(n) (LDBL_##n) +#define l_floatatt(n) (LDBL_##n) #define LUAI_UACNUMBER long double @@ -468,7 +468,7 @@ #define LUA_NUMBER double -#define l_mathlim(n) (DBL_##n) +#define l_floatatt(n) (DBL_##n) #define LUAI_UACNUMBER double -- cgit v1.2.3-55-g6feb