all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Unary /
@ 2015-10-15 11:30 David Kastrup
  2015-10-15 11:48 ` Stephen J. Turnbull
  2015-10-15 12:09 ` Andreas Schwab
  0 siblings, 2 replies; 10+ messages in thread
From: David Kastrup @ 2015-10-15 11:30 UTC (permalink / raw)
  To: emacs-devel


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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-15 19:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-15 11:30 Unary / David Kastrup
2015-10-15 11:48 ` Stephen J. Turnbull
2015-10-15 11:54   ` David Kastrup
2015-10-15 12:00   ` Tassilo Horn
2015-10-15 12:17     ` David Kastrup
2015-10-15 13:31       ` Stefan Monnier
2015-10-15 14:02         ` David Kastrup
2015-10-15 18:45           ` Stefan Monnier
2015-10-15 19:20             ` Paul Eggert
2015-10-15 12:09 ` Andreas Schwab

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.