W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2006

[whatwg] [wf2] repeat-min and max

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 7 Apr 2006 15:00:55 +0300
Message-ID: <5161B58E-8DBA-43F1-8FD9-7B814AE7D33C@iki.fi>
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/
Received on Friday, 7 April 2006 05:00:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:46 UTC