Displaying 2 results from an estimated 2 matches for "local_strtod".
2014 Sep 22
3
[PATCH] apodization for struct CompressionLevels
Op 22-09-14 om 21:56 schreef Erik de Castro Lopo:
> Wouldn't "tukey(1/2)" be better?
>
> Erik
5e-1 is directly parsed by strtod, while 1/2 isn't AFAIK.
2014 Sep 23
1
[PATCH] apodization for struct CompressionLevels
On 22.9.2014 23:22, lvqcl wrote:
> Martijn van Beurden wrote:
>
>>> Wouldn't "tukey(1/2)" be better?
>>>
>>> Erik
>> 5e-1 is directly parsed by strtod, while 1/2 isn't AFAIK.
> Another idea is to write flac_strtod() (and probably local_strtod() too)
> function that is able to parse both "0.5" and "0,5" strings regardless of
> current locale settings. But I'm not sure that this idea is good enough.
>
I have never understood why someone makes program input parameters
depend on locale. The program shows p...