[racket-dev] .1 evaluates to 0.0 [was Re: plot doesn't plot (inexact->exact: no exact representation for +nan.0)]
Thanks for all the new info! I don't think that it's a bytcode problem.
I start to wonder if it's in number parsing...
On line 1102 of "src/racket/src/numstr.c", there's a call to STRTOD().
Does it change anything if you wrap that call with calls to
scheme_push_c_numeric_locale() and scheme_pop_c_numeric_locale(loc)?:
{
GC_CAN_IGNORE char *loc;
loc = scheme_push_c_numeric_locale();
d = STRTOD(ffl_buf, &ptr);
scheme_pop_c_numeric_locale(loc);
}