Such things as
#f64(+inf.0)
fail.
Attached a fix. I tried to look into SCM_VALIDATE_REAL per the comment, I
didn't get far.
Regards,
Daniel
—
diff --git a/libguile/bytevectors.c b/libguile/bytevectors.c
index f014697..cc50e25 100644
--- a/libguile/bytevectors.c
+++
Here are a few simple patches for 2.0 which should be non-controversial.
I'd like to apply these to both stable-2.0 and master. Any objections?
Mark
From d8fa1a889ab3335fff2a4b468cf3e809f05d1add Mon Sep 17 00:00:00 2001
From: Mark H Weaver m...@netris.org
Date: Tue, 1 Mar 2011 12:46:38
Daniel Llorens d...@bluewin.ch writes:
I tried to look into SCM_VALIDATE_REAL per the comment, I didn't get
far.
Yes, SCM_VALIDATE_REAL (defined in validate.h) requires that the tested
value be an inexact real, i.e. floating-point. It will reject exact
integers or exact rationals. It really
Daniel Llorens d...@bluewin.ch writes:
Such things as
#f64(+inf.0)
fail.
Attached a fix.
Your fix looks good to me. Barring objections from the maintainers,
I will soon apply a variant of your patch.
Thanks!
Mark
Hi David,
David Fang f...@csl.cornell.edu writes:
/* The type of subrs, i.e., Scheme procedures implemented in C. Empty
function declarators are used internally for pointers to functions of
any arity. However, these are equivalent to `(void)' in C++, are
obsolescent as of C99, and