From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: e and pi Date: Fri, 17 Sep 2010 12:55:51 -0400 Message-ID: <4C939D97.7090501@gnu.org> References: Reply-To: Emacs Devel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1284742570 5640 80.91.229.12 (17 Sep 2010 16:56:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 16:56:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 17 18:56:08 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OweEE-0002ju-VW for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 18:56:03 +0200 Original-Received: from localhost ([127.0.0.1]:38073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OweEE-0001Un-81 for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 12:56:02 -0400 Original-Received: from [140.186.70.92] (port=40749 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OweE7-0001Tm-0H for emacs-devel@gnu.org; Fri, 17 Sep 2010 12:55:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OweE5-0007jP-Mq for emacs-devel@gnu.org; Fri, 17 Sep 2010 12:55:54 -0400 Original-Received: from mx1.janestreet.com ([38.105.200.112]:48551) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OweE5-0007jE-Jl for emacs-devel@gnu.org; Fri, 17 Sep 2010 12:55:53 -0400 Original-Received: from nyc-imap.janestreet.com ([172.25.22.57] helo=nyc-qsv-mail1.delacy.com) by mx1.janestreet.com with esmtp (Exim 4.71) (envelope-from ) id 1OweE4-0004iG-Gt for emacs-devel@gnu.org; Fri, 17 Sep 2010 12:55:52 -0400 Original-Received: from nyc-qws-005.delacy.com ([172.25.131.105]) by nyc-qsv-mail1.delacy.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1OweE4-0007R5-ES; Fri, 17 Sep 2010 12:55:52 -0400 User-Agent: Thunderbird 2.0.0.24 (X11/20100721) Original-Newsgroups: gmane.emacs.devel In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130345 Archived-At: Stefan Monnier wrote: > > Now, we have a lot of offending (defvar ) in Emacs currently, so we > will want to fix them, and to get things started, we want to fix the two > predefined float constants `e' and `pi'. why does the constant e exist in the first place? e=exp(1) and that is what people should use instead of the constant. the compiler should recognize that exp(1) is a constant and compute it at compile time.