guile-devel
[Top][All Lists]
Advanced

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

abs allocating new realnum


From: Kevin Ryde
Subject: abs allocating new realnum
Date: Sat, 15 Nov 2003 06:23:24 +1000
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

        * numbers.c (scm_abs): Allocate a new real only for negatives, as done
        for bignums.
        * tests/numbers.test (abs): Add a few more tests.

Attachment: numbers.c.abs.diff
Description: Text document

Attachment: numbers.test.abs.diff
Description: Text document


reply via email to

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