X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Tue, 24 Feb 2004 11:32:36 +0200 (EET) From: Esa A E Peuha Sender: peuha AT sirppi DOT helsinki DOT fi To: djgpp-workers AT delorie DOT com Subject: Re: strtoul bug (was Re: Fibonacci number) In-Reply-To: <403ADB4A.ED9F77C2@yahoo.com> Message-ID: References: <4038E8CA DOT 6491815E AT virginia DOT edu> <4039DD96 DOT 3F36F3B7 AT yahoo DOT com> <200402231458 DOT i1NEwKwm020904 AT envy DOT delorie DOT com> <403A301C DOT E8F5FE65 AT yahoo DOT com> <200402231751 DOT i1NHp5lv022894 AT envy DOT delorie DOT com> <403A5F55 DOT 7E608910 AT yahoo DOT com> <200402232034 DOT i1NKYqrt024366 AT envy DOT delorie DOT com> <403ADB4A DOT ED9F77C2 AT yahoo DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 24 Feb 2004, CBFalconer wrote: > I still consider the acceptance of signs in the unsigned > varieties to be an error, It isn't an error. Any valid string representation of a negative number is still a valid representation of _a_ number, and all string conversion functions must accept it as valid input, regardless of whether they can actually convert it to their return type. > TC 2.01 does NOT accept them! which seems sane, if non-conforming. No, _that_ is insane. -- Esa Peuha student of mathematics at the University of Helsinki http://www.helsinki.fi/~peuha/