Mail Archives: djgpp-workers/1996/07/26/14:00:21
I have looked at Steve Moshier's improvement of long double
conversions for printf and strtold. That's all great, but will
increase the size of every program which uses printf by 15k (according
to readme). Is it OK? Another issue is speed. As I understand, the
conversion procedure uses extra precision by emulating foloating point
calculations. Probably it is not significant, since it is not so often
needed to output calculations result.
Indeed, some extra functions dealing with long doubles can be added to
libm, since they will not affect existing applications.
Steve Moshier's strtod improves converting precision by using long
doubles for intermediate results. I don't see wny not add it to the
library.
- Raw text -