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: Stefan Monnier
Subject: Re: master 3843711 3/3: Simplify calculator-expt
Date: Tue, 05 Nov 2019 14:29:16 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> -           ((eq (logand (truncate y) 1) 1)   ; expansion of cl `oddp'
> [...]
> +     (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.


        Stefan




reply via email to

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