Byron Cook <[EMAIL PROTECTED]> writes:
> I did not observe this behavior with Hugs 1.4 (Jan98) on the following
> machines (produced with uname -a):
> AIX dtt051 2 3 000249045700
> SunOS lassi 5.5.1 Generic_103640-03 sun4u sparc SUNW,Ultra-1
> HP-UX dtthp237 B.10.20 A 9000/770 2009624264 two-user license
> SunOS cran 4.1.3_U1 17 sun4m
>
>
> - byron
So what answer do you get? I'm guessing (from reading Number.hs) that
it prints:
-2147483648
If so, this is a bug in the Number library; the correct answer would
be:
Program error: mult overflow!
Carl Witty
[EMAIL PROTECTED]
> ------------------------------------------------------------------------------
> Date: Mon, 11 May 1998 12:53:24 -0700
> From: "Carl R. Witty" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: bug in Hugs 1.4 and 1.3c arithmetic (Number library)
>
> In Hugs 1.4 (January 1998), if I type the following commands:
> :l Number
> (minBound::Number) * -1
> hugs dies with the error message "Unexpected signal".