Re: [PATCH v4 3/4] units: add BASIS_POINTS macro

From: Andy Shevchenko

Date: Wed Nov 26 2025 - 17:01:33 EST


On Wed, Nov 26, 2025 at 06:56:26PM -0300, Jonathan Santos wrote:
> Add macro for basis points unit, defined as a 1/100th of a percent.

Fine, but why? Can you elaborate more on use cases?

...


Perhaps you also want to add a PERCENT to understand the relationship
between two?

> +#define BASIS_POINTS 10000UL

And this needs a comment with an example (something like I asked above
for the commit message).


--
With Best Regards,
Andy Shevchenko