[Top][All Lists]

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

Re: Making 'eq' == 'eql' in bignum branch

From: Johan Bockgård
Subject: Re: Making 'eq' == 'eql' in bignum branch
Date: Thu, 30 Aug 2018 19:13:45 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Clément Pit-Claudel <address@hidden> writes:

> On 2018-08-26 16:45, Richard Stallman wrote:
>> How about if we make min and max accept, and ignore, nil as argument?
> I usually use 1.0e+INF and -1.0e+INF when I need a neutral element for
> min and max respectively, rather than most-positive-fixnum. Is there
> anything wrong with that? If not, I think we don't even need to change
> min and max at all.

It doesn't preserve integerness; (min 1 NEUTRAL-ELEMENT) should be 1,
but (min 1 1e+INF) is 1.0.

reply via email to

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