[ECOS] printf %e format bug.
Jonathan Larmour
jlarmour@redhat.co.uk
Tue Apr 11 07:46:00 GMT 2000
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
More information about the Ecos-discuss
mailing list