On Tue, 27 Jul 2010, Nicolas Joly wrote:
>       v = ve->var;
> -     doubleprintorsetwidth(v, getpcpu(k), 1, mode);
> +     dbl = getpcpu(k);
> +     doubleprintorsetwidth(v, dbl, (dbl >= 100.0) ? 0 : 1, mode);
>  }

I think you need to test (dbl >= 99.95); otherwise values in the range
from 99.95 to 99.9999... will be printed with one decimal place, as
"100.0".

--apb (Alan Barrett)

Reply via email to