IEEE-754 Float to int
anupam.kapoor at gmail.com
Wed Nov 23 09:04:09 EST 2016
On Wed, Nov 23, 2016 at 6:00 PM, Lucas Tanure <tanure at linux.com> 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.
In the beginning was the lambda, and the lambda was with Emacs, and Emacs
was the lambda.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies