On Wed, Nov 23, 2016 at 6:00 PM, Lucas Tanure <tanure@xxxxxxxxx> wrote:
The best way to do it seems to be to write conversion function.
Receive the float in a u32, parse it's bits and return a s32. Can be
done without the use of floats.
but this conversion-function might not be straight-forward :) it _may_ be possibly simplified depending on your precision requirements etc. etc.
--
kind regards
anupam
In the beginning was the lambda, and the lambda was with Emacs, and Emacs was the lambda.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies