delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/02/27/13:09:27

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: Fri, 27 Feb 2004 13:08:54 -0500
Message-Id: <200402271808.i1RI8sDN009698@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
CC: rudd AT cyberoptics DOT com, djgpp-workers AT delorie DOT com
In-reply-to: <uvflvelri.fsf@elta.co.il> (message from Eli Zaretskii on 25 Feb
2004 08:06:09 +0200)
Subject: Re: strtoul bug (was Re: Fibonacci number)
References: <d7c3a0b2 DOT 0402220759 DOT 34d6435d AT posting DOT google DOT com> <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> <403BD3E2 DOT 90602 AT cyberoptics DOT com> <uvflvelri DOT fsf AT elta DOT co DOT il>
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

> Does this mean it will return 5 in the last example above?  Can
> someone try this on a GNU/Linux box?

Glibc agrees with djgpp's current implementation.  "-5" is returned as
the same bit pattern as (int)(-5).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019