aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/luaconf.h b/luaconf.h
index 8f13743b..bdf927e7 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -398,7 +398,7 @@
398@@ LUA_NUMBER is the floating-point type used by Lua. 398@@ LUA_NUMBER is the floating-point type used by Lua.
399@@ LUAI_UACNUMBER is the result of a 'default argument promotion' 399@@ LUAI_UACNUMBER is the result of a 'default argument promotion'
400@@ over a floating number. 400@@ over a floating number.
401@@ l_mathlim(x) corrects limit name 'x' to the proper float type 401@@ l_floatatt(x) corrects float attribute 'x' to the proper float type
402** by prefixing it with one of FLT/DBL/LDBL. 402** by prefixing it with one of FLT/DBL/LDBL.
403@@ LUA_NUMBER_FRMLEN is the length modifier for writing floats. 403@@ LUA_NUMBER_FRMLEN is the length modifier for writing floats.
404@@ LUA_NUMBER_FMT is the format for writing floats. 404@@ LUA_NUMBER_FMT is the format for writing floats.
@@ -437,7 +437,7 @@
437 437
438#define LUA_NUMBER float 438#define LUA_NUMBER float
439 439
440#define l_mathlim(n) (FLT_##n) 440#define l_floatatt(n) (FLT_##n)
441 441
442#define LUAI_UACNUMBER double 442#define LUAI_UACNUMBER double
443 443
@@ -453,7 +453,7 @@
453 453
454#define LUA_NUMBER long double 454#define LUA_NUMBER long double
455 455
456#define l_mathlim(n) (LDBL_##n) 456#define l_floatatt(n) (LDBL_##n)
457 457
458#define LUAI_UACNUMBER long double 458#define LUAI_UACNUMBER long double
459 459
@@ -468,7 +468,7 @@
468 468
469#define LUA_NUMBER double 469#define LUA_NUMBER double
470 470
471#define l_mathlim(n) (DBL_##n) 471#define l_floatatt(n) (DBL_##n)
472 472
473#define LUAI_UACNUMBER double 473#define LUAI_UACNUMBER double
474 474