Re: floating point operations inside kernel

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

 



> pankaj chauhan <chauhan_ait@yahoo.co.in> [2004-01-22 16:08]:
>
> So is there any way to perform floating point
> operation inside kernel , if yes what , if no how do i
> use that equation ( it is critical for my project ,
> can not be eliminated ) .
>

As far as I know: you cannot carry out floating point operations
within the kernel due to cost intensive FPU-state saves that would
need to be done otherwise.

What would you think about doing the calculation within user-space?

Can you formulate the problem such that it does not need floating
point operations?

wbr,
Lukas
-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP? -> <http://www.rawip.org> |
eMail Style Guide: <http://www.rawip.org/style.html>|

--
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