Re: How to print out double precision number in the kernel using the printk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What will happen if I declare and use a floating point number inside the

kernel? It seems no compilation errors will be reported.


Best regards.

Haiguang


At 06:04 PM 10/30/01 -0800, John Tyner wrote:
>I think this question was just answered earlier today... it can't be done
>in the kernel because there is no floating point in the kernel.
>
>On Wed, 31 Oct 2001, wanghg wrote:
>
> > Hi, everyone:
> >
> > How to print out double precision number like 1.0005 in the kernel using
> > the printk.
> >
> > I am sorry ask such a simple question?
> >
> >
> > Thanks
> >
> > Haiguang
> >
> > -
> > Kernelnewbies: Help each other learn about the Linux kernel.
> > Archive:       http://mail.nl.linux.org/kernelnewbies/
> > IRC Channel:   irc.openprojects.net / #kernelnewbies
> > Web Page:      http://www.kernelnewbies.org/
> >
>
>--
>John Tyner
>jtyner@cs.ucr.edu

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux