[PATCH v3 1/2] cmdline: add floating point support
Burakov, Anatoly
anatoly.burakov at intel.com
Wed May 7 11:53:40 CEST 2025
On 5/7/2025 11:50 AM, Anatoly Burakov wrote:
> Add support for parsing floating point numbers in cmdline library, as well
> as unit tests for the new functionality. The parser supports single and
> double precision floats, and will understand decimal fractions as well as
> scientific notation.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
Missed patchnotes:
v2 -> v3:
- Fixed a bug where a free-standing negative exponent ("1e-") would
attempt to be
parsed, and added unit tests for this case
- Added support for floats in dpdk-cmdline-gen script
- Added documentation updates to call out float support
--
Thanks,
Anatoly
More information about the dev
mailing list