[Openmcl-devel] Empty operands list on DIVISION-BY-ZERO signal

Gabriel Dos Reis gdr at open-axiom.net
Wed Jun 29 12:29:48 PDT 2011


On Wed, Jun 29, 2011 at 2:24 PM, Gabriel Dos Reis <gdr at open-axiom.net> wrote:
> On Wed, Jun 22, 2011 at 3:19 AM, Gary Byers <gb at clozure.com> wrote:
>> See <http://trac.clozure.com/ccl/ticket/871>.
>>
>> On Mon, 20 Jun 2011, Gabriel Dos Reis wrote:
>>
>>> Hi,
>>>
>>> Clozure CL returns an empty list on the following form
>>>
>>> (handler-case (/ 1 0) (division-by-zero (c) (arithmetic-error-operands
>>> c)))
>>
>
> This appears indeed to be fixed on x86-64.
> Thanks!

One more thing: on DIVISION-BY-ZERO signal, how many arguments should
I expect?  I (naively?) thought I would get two, but with the form

    (handler-case (log 0) (division-by-zero (c) (arithmetic-error-operands c)))

I get only one.  Two operands would have been more useful.

-- Gaby



More information about the Openmcl-devel mailing list