Re: type promotion for fixed point types

2009-02-27 Thread Joseph S. Myers
On Fri, 27 Feb 2009, Sean D'Epagnier wrote: > 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 g

type promotion for fixed point types

2009-02-27 Thread Sean D'Epagnier
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 i