Subject: Re: how to use math function in kernel.
To: None <>
From: Matt Thomas <>
List: tech-kern
Date: 09/30/2004 18:02:37
At 05:55 PM 9/30/2004, Zongsheng Zhang wrote:
>I want to change source code of kerenl, and I wish to use some math
>functions, for example logarithm. However, there is already another
>function called "log" in kernel source. Is there anyone know how to do?

You can't.  The kernel is a no floating point zone.  (except for each
machine's FP code).

So, why do you want to do FP in the kernel?  What's the application?

Matt Thomas                     email:
3am Software Foundry              www:
Cupertino, CA              disclaimer: I avow all knowledge of this message.