Hi,

I just added support for printf and scanf of fixed point types to avr
libc.  I wanted to handle:

Currently "accum" and "fract" work, but not "short accum" or "short fract"

  This is not a problem for integers currently since they get type
promoted when passed with stdarg.

There is nothing in the fixed-point standard that is for or against
this.. it seems logical that "short accum" be promoted to "accum" and
"short fract" be promoted to "fract" in this case.

Does anyone have any opinions on this?

Thanks,
Sean

Reply via email to