[whatwg] [wf2] repeat-min and max
Anne van Kesteren
fora at annevankesteren.nl
Fri Apr 7 07:16:53 PDT 2006
Quoting Henri Sivonen <hsivonen at iki.fi>:
>>> The test case is wrong according to the current working draft,
>>> because the value of repeat-max is '0' in the test case and only
>>> positive integers are allowed values (and other values are ignored).
>>
>> Why is 0 not a positive integer?
>
> Because zero is neither positive nor negative.
> http://mathworld.wolfram.com/Zero.html
> http://mathworld.wolfram.com/PositiveInteger.html
>
>> Don't you have positive and negative 0's?
>
> Only in floating point values as a technical detail--not in pure math
> or in two's complement digital integers.
Fair enough.
--
Anne van Kesteren
<http://annevankesteren.nl/>
More information about the whatwg
mailing list