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 To: djgpp-workers AT delorie DOT com CC: rudd AT cyberoptics DOT com, djgpp-workers AT delorie DOT com In-reply-to: (message from Eli Zaretskii on 25 Feb 2004 08:06:09 +0200) Subject: Re: strtoul bug (was Re: Fibonacci number) 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> <403BD3E2 DOT 90602 AT cyberoptics DOT com> 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 > 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).