This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Bugs in numbers.c (with patch)
- To: "Dale P. Smith" <dpsm at en dot com>
- Subject: Re: Bugs in numbers.c (with patch)
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Wed, 22 Mar 2000 21:50:33 +0100 (MET)
- cc: guile at sourceware dot cygnus dot com
On Wed, 22 Mar 2000, Dale P. Smith wrote:
> SCM is now (void *). So it is unsigned. So (x < 0) will *never*
> return true. The compiler will probably just optimize away the tests.
> I would think it would be a good idea to go over all the code and
> check for places where a raw SCM value is compared < 0.
>
> The patch to numbers.h I'm not sure about, but I think it's right.
Thanks for the patches. I have applied them.
Best regards,
Dirk Herrmann