emacs-devel
[Top][All Lists]
Advanced

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

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


From: Clément Pit-Claudel
Subject: Re: Making 'eq' == 'eql' in bignum branch
Date: Tue, 28 Aug 2018 14:00:28 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 2018-08-28 08:15, Stefan Monnier wrote:
>> If “1.0e+INF” is hard to remember, how about defining symbols “+inifinity”
> Pip's suggestion is to use (max) for that.

I think you read Pip's suggestion backward: (max) would return -infinity, not 
+infinity.  (Which makes sense, since you want max to distribute over list 
concatenation)

FWIW, I'm not a fan of using either (min) or (max) to represent minus infinity; 
it looks a bit odd.  Many other languages have an infinity constant already, so 
that pattern is well established; making (max) an alias for either of the 
infinities is prone to introducing confusion.




reply via email to

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