guile-devel
[Top][All Lists]
Advanced

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

num2integral long long range check


From: Kevin Ryde
Subject: num2integral long long range check
Date: Sun, 25 Apr 2004 07:30:56 +1000
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

Some gremlins in the range checking of scm_num2long_long,

        * num2integral.i.c (NUM2INTEGRAL): Under non-BIGMPZ_FITSP case,
        corrections to range check for signed numbers.

        * standalone/test-num2integral.c (test_long_long): Exercise
        out-of-range errors on various cases.
        (test_ulong_long): New function, split from test_long_long and
        similarly exercising out-of-range.

Attachment: num2integral.i.c.range.diff
Description: Text document

Attachment: test-num2integral.c.range.diff
Description: Text document


reply via email to

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