rounding bug
Sven Panne
Sven.Panne at aedion.de
Mon Dec 8 17:54:30 EST 2003
I wrote:
> Fascinating. Everything works again now. I don't really have a clue how
> setlocale influenced my OpenGL stuff (via floats), though... %-]
Mystery solved: Hugs' native lexer uses atof, which in turn uses strtod,
which is locale-dependent. In the German locale I use, ',' and not '.' is used
between the integral and the fractional part of a numbers, so Hugs effectively
lexed only the integral part.
Thanks to Ross for fixing this obscure bug,
S.
More information about the Cvs-hugs
mailing list