Re: [PATCH v16 05/14] lib: kstrtox: add kstrtoudec64() and kstrtodec64()
From: Andy Shevchenko
Date: Thu Jun 04 2026 - 15:45:03 EST
On Thu, Jun 04, 2026 at 10:58:59AM +0100, Rodrigo Alencar via B4 Relay wrote:
> Add helpers that parses decimal numbers into 64-bit number, i.e., decimal
> point numbers with pre-defined scale are parsed into a 64-bit value (fixed
> precision). After the decimal point, digits beyond the specified scale
> are ignored.
Okay, this seems universal enough, follows the semantics of kstrto*() family
and gives a good results. Let's make it sail!
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko