guile-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile/guile-core NEWS


From: Mikael Djurfeldt
Subject: guile/guile-core NEWS
Date: Thu, 20 Sep 2001 04:17:12 -0400

CVSROOT:        /cvs
Module name:    guile
Changes by:     Mikael Djurfeldt <address@hidden>       01/09/20 04:17:12

Modified files:
        guile-core     : NEWS 

Log message:
        * num2integral.i.c (NUM2INTEGRAL): Report an error when these
        routines are passed an inexact.  This change in behavior is
        motivated by concordance with R5RS: It is more common that a
        primitive doesn't want to accept an inexact for an exact.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/NEWS.diff?cvsroot=OldCVS&tr1=1.319&tr2=1.320&r1=text&r2=text

Patches:
Index: guile/guile-core/NEWS
diff -u guile/guile-core/NEWS:1.319 guile/guile-core/NEWS:1.320
--- guile/guile-core/NEWS:1.319 Wed Sep 12 15:53:57 2001
+++ guile/guile-core/NEWS       Thu Sep 20 04:17:12 2001
@@ -1186,13 +1186,21 @@
 bignums directly, and should deal with numbers in general (which can
 be bignums).
 
+** Change in behavior: scm_num2long, scm_num2ulong
+
+The scm_num2[u]long functions don't any longer accept an inexact
+argument.  This change in behavior is motivated by concordance with
+R5RS: It is more common that a primitive doesn't want to accept an
+inexact for an exact.
+
 ** New functions: scm_short2num, scm_ushort2num, scm_int2num,
    scm_uint2num, scm_size2num, scm_ptrdiff2num, scm_num2short,
    scm_num2ushort, scm_num2int, scm_num2uint, scm_num2ptrdiff,
    scm_num2size.
 
 These are conversion functions between the various ANSI C integral
-types and Scheme numbers.
+types and Scheme numbers.  NOTE: The scm_num2xxx functions don't
+accept an inexact argument.
 
 ** New number validation macros:
    SCM_NUM2{SIZE,PTRDIFF,SHORT,USHORT,INT,UINT}[_DEF]



reply via email to

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