lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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