guile-devel
[Top][All Lists]
Advanced

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

Re: SCM_NUM2ULONG doesn't detect negative non-INUMs


From: Michael Livshin
Subject: Re: SCM_NUM2ULONG doesn't detect negative non-INUMs
Date: 01 Sep 2001 16:47:11 +0300
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Copyleft)

Martin Baulig <address@hidden> writes:

> calling SCM_NUM2ULONG() on a negative non-immediate number doesn't
> raise an exception if the number is larger than -ULONG_MAX - and it
> returns the positive value of that number.

good catch!  will apply shortly.

thanks,
--mike

-- 
A computer, to print out a fact,
Will divide, multiply, and subtract.
    But this output can be
    No more than debris,
If the input was short of exact.
                -- Gigo




reply via email to

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