Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Floating point arithmetic in Kernel

In kernel space, I have to do matrix multiplication whose elements are floating values(say 0.8666 etc). Is it possible to do floating point arithmetic in Kernel space. I am using 3.12 Kernel on ARM based board.

like image 693
user3693586 Avatar asked Sep 01 '26 13:09

user3693586


1 Answers

My understanding is the kernel is always linked with FPU emulation so that it does work, but it's almost always wiser to use scaled integers.

like image 81
Joshua Avatar answered Sep 03 '26 07:09

Joshua



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!