Subject: Re: how to use math function in kernel.
To: None <tech-kern@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: tech-kern
Date: 09/30/2004 18:02:37
At 05:55 PM 9/30/2004, Zongsheng Zhang wrote:
>Hello,
>
>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: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.