This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
diag_printf and float problem
- From: Tomasz Kutyla <tkutyla at marp dot pl>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 03 Apr 2007 15:01:11 +0200
- Subject: [ECOS] diag_printf and float problem
Hi,
It seems to be some tiny problem but it happens;)
My code looks like below:
float f = 10.5;
diag_printf("Test F = %f", f);
and on the terminal I've got:
Test F = %f
Why is that??
Regards,
Tomasz
--
Tomasz Kutyla, Design Engineer
MARP Electronic Sp. z o.o., ul. Pachonskiego 9, 31-223 Krakow
tel. +48 12 415-87-29 (ext. 35), mob.: +48 693 112 191
fax +48 12 415-86-80
e-mail: tkutyla@marp.pl; http://www.marp.pl
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss