[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] (abs 2147483648) evaluates to negative number
From: |
Jim Ursetto |
Subject: |
Re: [Chicken-users] (abs 2147483648) evaluates to negative number |
Date: |
Fri, 31 Jul 2009 13:22:33 -0500 |
On Fri, Jul 31, 2009 at 8:02 AM, Alejandro Forero
Cuervo<address@hidden> wrote:
> In Chicken 3.4.0 linux-unix-gnu-x86-64 the expression (abs 2147483648)
> evaluates to -2147483648 in both csi and a compiled program (negative?
> and positive?, however, seem to work correctly). It evaluated
> correctly in a 32-bits build of the same version.
Please try attached patch.
Jim
abs-64bit.diff.txt
Description: Text document