This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: Problem with lroundf()
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Jeff Johnston'" <jjohnstn at redhat dot com>, <newlib at sourceware dot org>
- Cc: <cygwin at cygwin dot com>
- Date: Sat, 25 Aug 2007 22:38:48 +0100
- Subject: RE: Problem with lroundf()
- References: <19c433eb0708240916t48556c38k563ada260702e1fd@mail.gmail.com> <02f101c7e66b$f1ba3530$2e08a8c0@CAM.ARTIMI.COM> <46CF4483.6030308@redhat.com>
On 24 August 2007 21:50, Jeff Johnston wrote:
> I have just made a patch. The code in lroundf() was making a comparison
> between an int and a calculation using sizeof. This ended up being an
> unsigned comparison and in this case, the int value was < 1.
>
> -- Jeff J.
Thanks Jeff!
cheers,
DaveK
--
Can't think of a witty .sigline today....