[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Re: (abs 2147483648) evaluates to negative number
From: |
Jim Ursetto |
Subject: |
Re: [Chicken-users] Re: (abs 2147483648) evaluates to negative number |
Date: |
Fri, 31 Jul 2009 13:14:04 -0500 |
On Fri, Jul 31, 2009 at 8:14 AM, Alejandro Forero
Cuervo<address@hidden> wrote:
> (when (negative? (abs 2147483648))
> (set! abs
> (lambda (x)
> (if (negative? x)
> (- x)
> x))))
>
> It seems to workaround the problem.
#;5> (abs 12345678901)
539222987
I don't think so.