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: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Adding checks to some procedures that accept integers only
Date: Tue, 24 Apr 2012 09:17:04 +0200
User-agent: Mutt/1.4.2.3i

On Mon, Apr 23, 2012 at 11:54:24PM -0500, Jim Ursetto wrote:
> Signed off and pushed.

Thanks!

> 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.

It looks I was confused again.  I *think* I may have been referring to
C_u_i_evenp and C_u_i_oddp (these still don't check for nan/inf), but
I'm not sure anymore.

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



reply via email to

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