[whatwg] [wf2] repeat-min and max

Henri Sivonen hsivonen at iki.fi
Fri Apr 7 05:00:55 PDT 2006


On Apr 7, 2006, at 14:38, Anne van Kesteren wrote:

>> 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.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/





More information about the whatwg mailing list