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

Re: gEDA-dev: Gerbv and strtod



>>>>> "DJ" == DJ Delorie <dj@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@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev