Re: A float point arithmetic in kernel extension
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Mar 6, 2006, at 9:53 PM, wlq wrote: = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike Smith