From 425d55f969c241d9ef5c1a5406dedb61692e1769 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Fri, 28 Jan 2011 13:51:37 +0100 Subject: [PATCH] note inf? / nan? domain in NEWS * NEWS: Add NEWS entry. --- NEWS | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NEWS b/NEWS index 757f783a4..9938204cd 100644 --- a/NEWS +++ b/NEWS @@ -25,6 +25,13 @@ integer-expt. This is more correct, and conforming to R6RS, but seems to be incompatible with R5RS, which would return 0 for all non-zero values of N. +*** `inf?' and `nan?' now throw exceptions for non-reals + +The domain of `inf?' and `nan?' is the real numbers. Guile now signals +an error when a non-real number or non-number is passed to these +procedures. (Note that NaNs _are_ considered numbers by scheme, despite +their name). + *** New procedure: `finite?' Add scm_finite_p `finite?' from R6RS to guile core, which returns #t