Re: Proposal: deprecate low-level numeric predicates

2011-03-09 Thread Andy Wingo
On Tue 01 Mar 2011 20:20, Mark H Weaver writes: > Daniel Llorens 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 ex

Proposal: deprecate low-level numeric predicates

2011-03-01 Thread Mark H Weaver
Daniel Llorens 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 ought to be dep