ieee_arithmetic in kernel

Hello,
is there a way to use ieee_arithmetic in the kernel code?

The main reason I want to do this, is to detect wether a value calculated is NaN

No, sorry.