[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Adding checks to some procedures that acce
Re: [Chicken-hackers] [PATCH] Adding checks to some procedures that accept integers only
Tue, 24 Apr 2012 09:17:04 +0200
On Mon, Apr 23, 2012 at 11:54:24PM -0500, Jim Ursetto wrote:
> 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.
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.
"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