[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: "Ignore me" symbol
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 19 Dec 2018 10:25:42 -0200
> I was curious about this, and yes, I can see why---you call one of the
> Standard C functions (strtof(), strtod(), strtold()) to do the actual
> conversion. To support grouping separators [1], the code would have to
> first walk through the entire number, stripping out the grouping separators,
> then call the Standard C function.
Exactly. It is hard to implement your own 'strtod', due to precision
lost.
-- Roberto
- References:
- "Ignore me" symbol, Egor Skriptunoff
- Re: "Ignore me" symbol, Coda Highland
- Re: "Ignore me" symbol, Lorenzo Donati
- Re: "Ignore me" symbol, Egor Skriptunoff
- Re: "Ignore me" symbol, Dirk Laurie
- Re: "Ignore me" symbol, Jim
- Re: "Ignore me" symbol, Sam Pagenkopf
- Re: "Ignore me" symbol, Coda Highland
- Re: "Ignore me" symbol, Roberto Ierusalimschy
- Re: "Ignore me" symbol, Sean Conner