> [...]
>
> An updated reference manual is included and also available at
>
https://www.lua.org/work/doc [...]
Thanks for the new -rc.
While browsing the Lua 5.5 reference manual (triggered by the
previous query about 'global'), I was looking at Section 2.1 -
Values and Types. Some observations:
- Perhaps add "signed" to the definition of "integer";
- "two-complement arithmetic" is more traditionally called
"two's complement arithmetic", or maybe
"two's-complement arithmetic";
- IEEE 754 is quoted as the "usual" floating-point standard
in Section 3.4.1; also, 2.1 also prohibits IEEE 754 "NaN"
as a table index. Given these snippets, is it worth
promoting "usually IEEE 754" from 3.4.1 into the definition
of floating-point numbers in 2.1?
I accept that the manual is very carefully written, and so the
suggestions above may cause more harm than good. In any case,
thanks for your consideration.
s-b etc