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.

Reply via email to