All of lore.kernel.org
 help / color / mirror / Atom feed
From: ITechnology <itechnology@126.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] printf in u-boot cannot support %f
Date: Tue, 11 Jan 2011 21:13:07 +0800	[thread overview]
Message-ID: <201101112113066880790@126.com> (raw)

Hi,
The codes below:
   ...
  	double result1 =  3.14;
	printf("result1:%f\n", result1);// error 
 .... 
  turn out:
	result1:%f
    How can I  get the correct result? Thanks a lot!
The U-boot version is:
=> ver
U-Boot 2008.10 (Jul 15 2009 - 21:56:05) MPC512X
    I wan to a little more complex program in standalone mode in u-boot. Is it possilbe to port g-libc to u-boot standalone mode?
Tanks.
 Best regards,
Michael Franklin

                 

             reply	other threads:[~2011-01-11 13:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-11 13:13 ITechnology [this message]
2011-01-11 13:59 ` [U-Boot] printf in u-boot cannot support %f Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201101112113066880790@126.com \
    --to=itechnology@126.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.