gEDA-dev: Gerbv and strtod
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Thu May 3 18:42:16 EDT 2007
>>>>> "DJ" == DJ Delorie <dj at delorie.com> writes:
DJ> PCB has locale-independent strtod() and dtostr() that I wrote to
DJ> address that problem, if that's what it is.
Running in the debugger (gdb) when I hit read_double() I tried serveral
combinations like
> p strtod("0.036", 0)
> p strtod("0,036", 0)
> p strtod("12346", 0)
> p strtod("12E1 ", 0)
and the results were "strange". I banged my head against the strtod manpage
and challenged google, but found no obvious error.
Have to try more when I come back in a week
Bye
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the geda-dev
mailing list