vfprintf.c patch

Doug Evans dje@transmeta.com
Fri Dec 1 11:19:00 GMT 2000


Joel Sherrill writes:
 > The ideal solution would be to break out the FP printing
 > into a separate function but that was more risky to implement.

I responded:
 > Already done, but the other way around.
 > IIRC, see iprintf vs printf.

Joel responded:
 > iprintf() is non-standard.

So what did you mean when you said "separate function"?

 > Difference in view.

Careful.  It's tricky business infering what anyone's viewpoint based on the
few words they put in email (which in a reply are in turn based on
the few words you put in email).

 > I just believe in the rule of least
 > surprise.  Printing an integer, string, or character should
 > not require FPU operations.

No disagreement here.


More information about the Newlib mailing list