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

[whatwg] [wf2] repeat-min and max

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Fri, 07 Apr 2006 16:16:53 +0200
Message-ID: <20060407161653.1aq7wr7u4dnkg8sk@webmail.annevankesteren.nl>
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/>
Received on Friday, 7 April 2006 07:16:53 UTC

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