From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add support for log2. Date: Thu, 20 Jun 2013 14:56:40 +0200 Message-ID: <3278069.v43fCk5uy9@descartes> References: <1783344.43FasZRPlO@descartes> <51C26A9E.7080200@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1371733026 17339 80.91.229.3 (20 Jun 2013 12:57:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Jun 2013 12:57:06 +0000 (UTC) Cc: Paul Eggert , Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 20 14:57:06 2013 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 1UpeQE-0003Ee-DX for ged-emacs-devel@m.gmane.org; Thu, 20 Jun 2013 14:57:06 +0200 Original-Received: from localhost ([::1]:55089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpeQD-00042f-V4 for ged-emacs-devel@m.gmane.org; Thu, 20 Jun 2013 08:57:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpeQ5-0003vJ-IR for emacs-devel@gnu.org; Thu, 20 Jun 2013 08:57:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpePy-0003dw-BO for emacs-devel@gnu.org; Thu, 20 Jun 2013 08:56:57 -0400 Original-Received: from ptmx.org ([178.63.28.110]:59096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpePy-0003da-5F for emacs-devel@gnu.org; Thu, 20 Jun 2013 08:56:50 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id 884FE217D7; Thu, 20 Jun 2013 14:56:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vMTTQ8Dep6uD; Thu, 20 Jun 2013 14:56:47 +0200 (CEST) Original-Received: from descartes.localnet (chello080108246092.7.14.vie.surfer.at [80.108.246.92]) by ptmx.org (Postfix) with ESMTPSA id E7ED3202EB; Thu, 20 Jun 2013 14:56:45 +0200 (CEST) User-Agent: KMail/4.10.3 (Linux/3.8.0-23-generic; KDE/4.10.3; x86_64; ; ) In-Reply-To: <51C26A9E.7080200@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.63.28.110 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:160744 Archived-At: On Wednesday 19 June 2013 19:36:14 Paul Eggert wrote: > Elisp already has a syntax for log2 (X), namely (log X 2), > so how about the following more-conservative change? > This avoids adding the "log2" function to the Emacs namespace, > thus no need for a NEWS entry, doc change, etc. >=20 > (I know the same argument applies to log10, but > that horse left the barn long ago.) I would be fine with that. Common Lisp has no log2 or log10 either, so= it=20 probably makes sense. However I think in that case we should consider=20= deprecating log10 for the sake of consistency. The existence of a log1= 0 seems=20 to imply a lack of a log2. Regards, R=C3=BCdiger