emacs-devel
[Top][All Lists]
Advanced

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

Unary /


From: David Kastrup
Subject: Unary /
Date: Thu, 15 Oct 2015 13:30:09 +0200

I was surprised to discover that unary / does not work analogously to
unary -, namely creating the multiplicative inverse.

In Elisp, (/ 2.0) returns 2.0.  In Common Lisp
<URL:http://www.lispworks.com/documentation/lw50/CLHS/Body/f_sl.htm>
(and in Scheme), this returns 0.5.

Any reason for that?  The Elisp behavior does not appear overly useful.

-- 
David Kastrup



reply via email to

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