unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* num2float isfinite
@ 2004-02-15 22:43 Kevin Ryde
  0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2004-02-15 22:43 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

FYI,
        * num2float.i.c (NUM2FLOAT): Expand isfinite to !xisinf, as per
        previous change to numbers.c.


[-- Attachment #2: num2float.i.c.xisinf.diff --]
[-- Type: text/plain, Size: 347 bytes --]

--- num2float.i.c.~1.7.~	2003-04-05 11:42:20.000000000 +1000
+++ num2float.i.c	2004-02-16 08:40:33.000000000 +1000
@@ -8,7 +8,7 @@
   else if (SCM_BIGP (num))
     { /* bignum */
       FTYPE res = mpz_get_d (SCM_I_BIG_MPZ (num));
-      if (isfinite (res))
+      if (! xisinf (res))
 	return res;
       else
 	scm_out_of_range (s_caller, num);

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-15 22:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-15 22:43 num2float isfinite Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).