[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Questions about lua_strx2number
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 19 Mar 2020 16:04:46 -0300
> As I said, be aware of rounding errors. Getting the result correct to
> the last bit can be a challenge.
The widely used dtoa and strtod by David M. Gay is *huge*. It is also
complicatded, which is instructive for those who may think that FP
conversion is an easy task.
See https://stackoverflow.com/a/3173209/107090