emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48150: closed (breaking gmp)


From: GNU bug Tracking System
Subject: bug#48150: closed (breaking gmp)
Date: Fri, 05 Nov 2021 16:34:01 +0000

Your message dated Fri, 5 Nov 2021 17:33:16 +0100
with message-id <9186B091-39D6-4855-838E-ABC4952DAEC1@sarc.name>
and subject line Re: breaking gmp
has caused the debbugs.gnu.org bug report #48150,
regarding breaking gmp
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
48150: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48150
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: breaking gmp Date: Sun, 2 May 2021 02:14:46 +0100
With Guile 2.2.6:

$ guile-2.2 -c '(ash 1 (ash 1 37))'
gmp: overflow in mpz type
zsh: abort      guile-2.2 -c '(ash 1 (ash 1 37))'
$

For shift distances of (ash 1 63) or greater Guile cleanly signals an
exception indicating the overflow.  The above treatment of a range of
smaller (but still stupidly large) shift distances is less than awesome.
It would be preferable for Guile to know gmp's limits and cleanly signal
an exception, rather than exceed those limits in a way that terminates
the process outright.

-zefram



--- End Message ---
--- Begin Message --- Subject: Re: breaking gmp Date: Fri, 5 Nov 2021 17:33:16 +0100
Fixed in bf9d30f3c3fd03cb37d604f1927e9ce5c699338b. Thanks!



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]