Re: floats truncated by strtod() if decimal point character differs
Noah Misch <[email protected]> Mon, 2 Sep 2019 10:06:00 -0700
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Sep 02, 2019 at 11:16:23AM +0200, Michael Weiser wrote: > So we're back to the first two choices of fiddling with LANG/setlocale() > or implementing a custom strtod(). I'd prefer the latter. Agreed; multithreaded Perl complicates the former. > What are your > thoughts on this, particularly license-wise where to grab an > implementation from (BSD?)? BSD is a good bet. More often than not, I use NetBSD as a source of library code like this.