Re: Float numbers in kernel

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

 



On Thu, Jul 29, 2004 at 12:49:52PM -0300, Mauricio Lin wrote:
> Hi all,
> 
> Does anyone know how to handle floating point
> variables in Kernel code?
> 

There was a long thread not long ago, IIRC on this list on the
subject. The bottom line was that you couldn't use floating point in
the kernel without some dirty and potentially dangerous assembly, since
the floating point context isn't saved and restored on the switch
to/from user space (or something like that).

> I would like to code a function that needs float
> numbers.
> 
> BR,
> 
> Mauricio Lin.
> 
> =====
> ************************************************
>   Conhecimento vem do seu instrutor; 
>   Sabedoria vem do seu interior.  
>   (Bruce Lee)             
> ************************************************
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
>  
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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