Query about Float Point Operation

Måns Rullgård mans at mansr.com
Tue Mar 23 09:34:16 EDT 2010


914059751 at qq.com writes:

> Hi , guys
> I want to do float point operations in kernel like the following,
>
> int foo(double d)
> {
> return (int)d*d;
> }
>
> May I ask any possibility of use float point operation in the kernel space?

Floating-point in the kernel is not allowed.

-- 
Måns Rullgård
mans at mansr.com




More information about the linux-arm-kernel mailing list