From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Unary / Date: Thu, 15 Oct 2015 13:30:09 +0200 Message-ID: <87pp0gweri.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1444908759 16812 80.91.229.3 (15 Oct 2015 11:32:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 11:32:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 15 13:32:32 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zmglr-0006Cz-U8 for ged-emacs-devel@m.gmane.org; Thu, 15 Oct 2015 13:32:32 +0200 Original-Received: from localhost ([::1]:46978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmglq-0006GB-OQ for ged-emacs-devel@m.gmane.org; Thu, 15 Oct 2015 07:32:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmgkg-0005q3-Ma for emacs-devel@gnu.org; Thu, 15 Oct 2015 07:31:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zmgkf-0005e2-Py for emacs-devel@gnu.org; Thu, 15 Oct 2015 07:31:18 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmgkf-0005dy-MK for emacs-devel@gnu.org; Thu, 15 Oct 2015 07:31:17 -0400 Original-Received: from localhost ([127.0.0.1]:32991 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1Zmgkf-0006Xu-7x for emacs-devel@gnu.org; Thu, 15 Oct 2015 07:31:17 -0400 Original-Received: by lola (Postfix, from userid 1000) id F0548DF4F5; Thu, 15 Oct 2015 13:30:09 +0200 (CEST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:191629 Archived-At: 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 (and in Scheme), this returns 0.5. Any reason for that? The Elisp behavior does not appear overly useful. -- David Kastrup