emacs-devel
[Top][All Lists]
Advanced

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

Re: master 3843711 3/3: Simplify calculator-expt


From: Paul Eggert
Subject: Re: master 3843711 3/3: Simplify calculator-expt
Date: Tue, 5 Nov 2019 13:47:19 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 11/5/19 11:29 AM, Stefan Monnier wrote:

+     (if (or (natnump x) (cl-evenp y))

`cl-evenp` doesn't do the `truncate` part, so this will signal an error if
`x` is not a natural number and `y` is not an integer.

Not a problem, as this part of the code is reachable only if Y is an integer. I added a comment to that effect.



reply via email to

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