commit | 1bf4b80f1ace8384eb9dd6f7f8b67256b3944a7a | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Fri Aug 02 15:09:30 2024 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Fri Aug 02 15:09:30 2024 -0300 |
tree | 5162b1f662c4dcb6127ba03866096f70d0c298ab | |
parent | 4c6afbcb01d1cae72d829af5301df5f592fa2079 [diff] |
Floats formatted with "correct" precision Conversion float->string ensures that, for any float f, tonumber(tostring(f)) == f, but still avoiding noise like 1.1 converting to "1.1000000000000001".
This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.
Please do not send pull requests. To report issues, post a message to the Lua mailing list.
Download official Lua releases from Lua.org.