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 /luaconf.h | |
| 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 'luaconf.h')
| -rw-r--r-- | luaconf.h | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -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 | ||
