chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Adding checks to some procedures that acce


From: Jim Ursetto
Subject: Re: [Chicken-hackers] [PATCH] Adding checks to some procedures that accept integers only
Date: Mon, 23 Apr 2012 23:54:24 -0500

Signed off and pushed.

C_i_positivep looks right to me (it's used in positive?).  It does the right
thing when handed positive and negative infinity and also NaN, at least
according to R7RS.  Unless I misunderstand you.

On Apr 8, 2012, at 11:27 AM, Peter Bex wrote:

> On Sat, Apr 07, 2012 at 03:21:34PM +0200, Peter Bex wrote:
>> Hi all,
>> 
>> Here's a patch that adds some tests for odd?, even?, lcm, gcd, quotient,
>> modulo, remainder and arithmetic-shift.
> 
> I forgot to mention: I looked at C_i_positivep which seems to be wrong
> too, but I couldn't trigger an error in the tests.  Any idea how and
> when the rewrite takes effect?
> 
> Cheers,
> Peter
> -- 
> http://sjamaan.ath.cx
> --
> "The process of preparing programs for a digital computer
> is especially attractive, not only because it can be economically
> and scientifically rewarding, but also because it can be an aesthetic
> experience much like composing poetry or music."
>                                                       -- Donald Knuth
> 
> _______________________________________________
> Chicken-hackers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-hackers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]