This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: printf %e format bug.


Sergei Organov wrote:
> 
> Hello,
> 
> The
> 
> printf("%g %- 30.18e\n", 3.14e-11, 3.14e-11);
> 
> outputs:
> 
> 3.14e-11  3.140000000000001e-11000
> 
> The exponent of the second representation is wrong.

Can you report this at http://sourceware.cygnus.com/ecos/problemreport.html
please? I doubt this is something I'll have much of a chance to look at
soon (although you're welcome to have a go yourself of course :-)).

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]