[ECOS] printf %e format bug.

Sergei Organov osv@javad.ru
Tue Apr 11 07:30:00 GMT 2000


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.

BR,
Sergei Organov.



More information about the Ecos-discuss mailing list