[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Setting Float Precision in Lua.c
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 5 Jun 2018 12:59:38 -0300
> If someone insist on _PERFECTION_ for their floating-point output,
> then IMHO the onus is on that someone to do (and maintain) the
> necessary tweaks (and test regime) for that purpose.
If someone insists on _PERFECTION_ for their floating-point output,
they should use the hexadecimal format. Lua has full support for
hexadecimal floating-point numerals.