Re: [PATCH v8 1/3] cmdline: use C standard library as number parser

2025-05-09 Thread Burakov, Anatoly
On 5/9/2025 3:08 PM, Burakov, Anatoly wrote: On 5/9/2025 3:02 PM, Burakov, Anatoly wrote: On 5/8/2025 3:16 PM, Anatoly Burakov wrote: Remove custom number parser and use C standard library instead. In order to keep compatibility with earlier versions of the parser, we have to take into account

Re: [PATCH v8 1/3] cmdline: use C standard library as number parser

2025-05-09 Thread Burakov, Anatoly
On 5/9/2025 3:02 PM, Burakov, Anatoly wrote: On 5/8/2025 3:16 PM, Anatoly Burakov wrote: Remove custom number parser and use C standard library instead. In order to keep compatibility with earlier versions of the parser, we have to take into account a couple of quirks: - We did not consider "n

Re: [PATCH v8 1/3] cmdline: use C standard library as number parser

2025-05-09 Thread Burakov, Anatoly
On 5/8/2025 3:16 PM, Anatoly Burakov wrote: Remove custom number parser and use C standard library instead. In order to keep compatibility with earlier versions of the parser, we have to take into account a couple of quirks: - We did not consider "negative" numbers to be valid for anything other

[PATCH v8 1/3] cmdline: use C standard library as number parser

2025-05-08 Thread Anatoly Burakov
Remove custom number parser and use C standard library instead. In order to keep compatibility with earlier versions of the parser, we have to take into account a couple of quirks: - We did not consider "negative" numbers to be valid for anything other than base-10 numbers, whereas C standard li