Summary
(abs most-negative-fixnum) does return negative value
Metadata
- Id: ce12984fe4093beb93b5c28b1cef9f8edf59545b
- Trac id: 1096
- Type: defect
- Reporter: ckeen
- Owner:
- Cc:
- Status: closed
- Component: core libraries
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone: 5.0
- Version: 4.8.x
- Changetime: 2015-08-27 08:56:56 UTC
- Created: 2014-02-04 13:31:13 UTC
- Keywords: abs core
Description
Found by David Krenzlin on #chicken
$ csi -n CHICKEN (c) 2008-2014, The Chicken Team (c) 2000-2007, Felix L. Winkelmann Version 4.8.4 (rev 7dad446) linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ] compiled 2014-02-03 on devpool08 (Linux) #;1> (abs most-negative-fixnum) -4611686018427387904 #;2> (fixnum? most-negative-fixnum) #t
Works fine with the numbers egg's version.
Changes and comments
[2014-02-14 08:13:23 UTC] certainty changed priority from major to minor
[2014-02-17 08:47:30 UTC] sjamaan changed milestone from 4.9.0 to 4.10.0
[2014-02-17 08:47:30 UTC] sjamaan wrote:
Not important enough to delay 4.9.0 any longer
[2015-08-27 08:56:56 UTC] sjamaan changed status from new to closed
[2015-08-27 08:56:56 UTC] sjamaan set resolution to fixed
[2015-08-27 08:56:56 UTC] sjamaan changed milestone from 4.10.0 to 5.0
[2015-08-27 08:56:56 UTC] sjamaan wrote:
This has been fixed in CHICKEN 5 through the numbers integration. I think it is acceptable to leave this problem in CHICKEN 4 because it's such an extreme edge case, and fixing it in CHICKEN 4 would require quite a bit of brainpower and time.