GNU bug report logs - #16999
calc crashes when computation limit is increased

Previous Next

Package: emacs;

Reported by: Florian Beck <fb <at> miszellen.de>

Date: Wed, 12 Mar 2014 18:56:01 UTC

Severity: normal

Done: Mattias EngdegÄrd <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mattias EngdegÄrd <mattiase <at> acm.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Florian Beck <fb <at> miszellen.de>, 16999 <at> debbugs.gnu.org
Subject: bug#16999: calc crashes when computation limit is increased
Date: Thu, 10 Sep 2020 18:02:39 +0200
reopen 16999
make it so

While the C-level crash has been fixed, the Calc bug (infinite loop) has not.

Whether to signal a domain error for (-2 choose 0) or return the conventional value by extension is a matter of taste; I think the latter would be more useful. In fact, I see no reason not to extend the function to all integral arguments, but would of course value any half-supported opinion on the matter.

Let me attempt a patch, and please forgive my reopening the bug.





This bug report was last modified 4 years and 305 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.