Re: libbattery was Re: [RFC PATCH 5/5] power: generic-adc-battery: Add capacity handling

From: Pavel Machek
Date: Wed Oct 18 2017 - 09:09:19 EST



> So I have three questions:
> a) why do you use float/double instead of fixed point for such
> simple and imprecise calculations?

Cleaner code, and probably faster, too.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature