[Top][All Lists]

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

Re: [avr-gcc-list] Re: [avr-libc-dev] I fixed dtostre()

From: Chris Baugher
Subject: Re: [avr-gcc-list] Re: [avr-libc-dev] I fixed dtostre()
Date: Tue, 10 Sep 2002 13:11:24 -0500 (CDT)

On Mon, 9 Sep 2002, Joerg Wunsch wrote:
> As Joerg Wunsch wrote:
> Note that i intend to add a similar flags parameter to dtostrf() to
> make it compatible (and to make it more useful for a future printf()
> implementation).  Would anybody mind me changing the parameter
> sequence of dtostrf() by the same time so it's going to be similar to
> dtostre()?

A printf type function would be useful to me.


> Current dtostre():
> extern char *dtostre(double __val, char *__s, unsigned char __prec,
>                      unsigned char __flags);
> Old:
> extern char *dtostrf(double __val, char __width, char __prec, char *__s);
> New:
> extern char *dtostrf(double __val, char *_s, unsigned char __width,
>                      unsigned char __prec, unsigned char __flags);
> Note that dtostre() has no width field.  Should we add one, too?  For
> a full printf() implementation, this could become handy.
> --
> J"org Wunsch                                         Unix support engineer
> address@hidden        http://www.interface-systems.de/~j/
> avr-gcc-list at http://avr1.org

reply via email to

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