Re: A float point arithmetic in kernel extension
Re: A float point arithmetic in kernel extension
- Subject: Re: A float point arithmetic in kernel extension
- From: Mike Smith <email@hidden>
- Date: Mon, 6 Mar 2006 21:56:16 -0800
On Mar 6, 2006, at 9:53 PM, wlq wrote:
I am building one kernel extension for my device and I need do some
float point arithmetic.
The problem is,
In my code, I have added header file
#include <math.h>
And I have called some float point function pow(float, float), acos
(float) etc.
In xcode 1.5, the compiler shows ok when compile the project, but
when I
use kextload to load my KEXT into kernel, the console shows
that kernel can't identify _pow, _acos.
Floating point math is not generally supported in the kernel; you'll
need to find another way of doing what you need to do.
= Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden