avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] %f


From: eweddington
Subject: Re: [avr-libc-dev] %f
Date: Tue, 10 Oct 2006 05:43:37 -0600


----- Original Message -----
From: Joerg Wunsch <address@hidden>
Date: Tuesday, October 10, 2006 2:50 am
Subject: Re: [avr-libc-dev] %f

> As Steve Franks wrote:
> 
> > I know no one else in their right mind uses floating point
> > printf/scanf.
> 
> Why not?
> 
> > That said, the "double format, float arg" warning is a
> > bit tedious (when you have a giant string parser in a mega128).
> 
> It's only tedious as the AVR currently doesn't support 64-bit doubles,
> so sizeof(float) == sizeof(double).

Please note that we have repeatedly asked for volunteers to help with
maintenance of the math library, as well as adding true 64-bit doubles
to avr-libc. IIRC, the IAR compiler for the AVR offers this; it would be
nice to offer this as well.

Eric Weddington




reply via email to

[Prev in Thread] Current Thread [Next in Thread]