Bug#1030231: hugs: toInteger (minBound :: Int) incorrect on 64bit

2024-05-03 Thread Petter Reinholdtsen
[Claude Heiland-Allen 2023-02-01] > The problem is in src/bignums.c, because -INT_MIN == INT_MIN. > > Attached patch fixes the problem for me on aarch64 and x86_64. Currently hugs98 is orphaned in Debian. Your fix seem like a patch for upstream. Did you try to submit it to the upstream

Bug#1030231: hugs: toInteger (minBound :: Int) incorrect on 64bit

2023-02-01 Thread Claude Heiland-Allen
Package: hugs Version: 98.200609.21-6 Severity: normal Tags: patch X-Debbugs-Cc: cla...@mathr.co.uk Dear Maintainer, * What led up to the situation? I evaluated: > (minBound :: Int, toInteger (minBound :: Int)) * What was the outcome of this action? Two different numbers were output.