You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are supported in LuaJIT and in fact used in its own Lua modules, e.g. here. Trying to format them results in a parser error:
More information about the extension:
tonumber() etc. use builtin string to number conversion
All string-to-number conversions consistently convert integer and floating-point inputs in decimal and hexadecimal on all platforms. strtod() is not used anymore, which avoids numerous problems with poor C library implementations. The builtin conversion function provides full precision according to the IEEE-754 standard, it works independently of the current locale and it supports hex floating-point numbers (e.g. 0x1.5p-3).
Example:
These are supported in LuaJIT and in fact used in its own Lua modules, e.g. here. Trying to format them results in a parser error:
More information about the extension:
Source: https://luajit.org/extensions.html
The text was updated successfully, but these errors were encountered: