guile-devel
[Top][All Lists]
Advanced

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

scm_round_number using scm_round


From: Kevin Ryde
Subject: scm_round_number using scm_round
Date: Mon, 17 May 2004 09:12:14 +1000
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

        * numbers.c (scm_round_number): For inum and big, just return x.  For
        real, use scm_round for problems with 2^54-1 etc covered there.

The problem that afflicted scm_round arises in the same algorithm done
with SCMs in scm_round_number.  I think it can call scm_round to share
code.

Attachment: numbers.c.round-number.diff
Description: Text document


reply via email to

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