Mail Archives: djgpp-workers/2003/03/18/14:37:10
Hello.
Martin Stromberg wrote:
>
> Eli said:
[snip]
> > Ideally, we should also generate the precise bit pattern as given by
> > <anything>. It cannot be too hard.
>
> Yes. All we need to agree on the format and if somebody else does the
> printing part, I'll do the strto{f,d,ld}() part.
[snip]
If no-one else volunteers (seems unlikely), then I'll do the printing part.
Yet me know when you strto* patch is ready and I'll do the reverse
transformation in _doprnt.
BTW our current implementation of nan* is non-conforming. The ANSI C99 takes a
char * argument (i.e.: <anything> in NaN(<anything>), but the prototype in
<math.h>. gcc 3.3 generated a warning for nan*.
Having said that, our implementations of nan* are not in the ANSI section.
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -