IEEE-754 Float to int

Lucas Tanure tanure at linux.com
Tue Nov 22 11:30:03 EST 2016


No. Is a unsigned int. I'm trying to avoid floats in the kernel.

On Tue, Nov 22, 2016 at 4:28 PM, Anupam Kapoor <anupam.kapoor at gmail.com>
wrote:

>
> On Tue, Nov 22, 2016 at 9:51 PM, Lucas Tanure <tanure at linux.com> wrote:
>
>> But this "some-float-value" must be declared as float ? Can I do that ?
>>
>
> ​in your example, isn't 'value' a float type​ already ?
>
> ​--
> kind regards
> anupam​
>
>
> In the beginning was the lambda, and the lambda was with Emacs, and Emacs
> was the lambda.
>



-- 
Lucas Tanure
Embedded Developer
+55 19 988176559
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161122/36b0bec1/attachment.html 


More information about the Kernelnewbies mailing list