Re: [PATCH] doc: clarify integer requirements in some functions

Paul Eggert <[email protected]> Sat, 12 Feb 2022 00:35:46 -0800
Newsgroups gmane.comp.sysutils.autoconf.patches
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 2/12/22 00:28, Mike Frysinger wrote:
> These functions do not accept decimal values with fractional parts.
> Describe them in terms of integers to clarify.

I dunno, those values all must be integers by their nature so saying 
"integer" in the doc doesn't help much; conversely, if the doc omits the 
word "decimal" people might think the numbers could be octal or hex.

Although we could uniformly replace "decimal" with "nonnegative decimal 
integer without excess leading zeros" that would be overkill. Perhaps we 
could just add a sentence somewhere saying "By 'integer' we mean 
'nonnegative decimal integer without excess leading zeros'" and leave 
the rest of the doc as-is.