hi,

My crapy solution is to multiply with 10^x with x the precision you need.  
Then cast to a long, then rtl_printf the long

Another way is converting your float to ASCII and piping it through the 
realtime fifo to user space.

Peter

On Friday 07 December 2001 23:31, you wrote:
> Hi,
>
> I tried to print 3.14159 in rtl_printf.
> But %f, %lf, %e are not working in rtl_printf().
> Does anybody know how to do this?
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to