From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: djc Newsgroups: gmane.emacs.help Subject: Re: Inconsistency: sometimes an integer, sometimes a float Date: Fri, 24 Jan 2014 14:25:58 -0800 (PST) Message-ID: References: <4ce73e74-a069-4e8d-b606-5aa76b848940@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1390602617 16274 80.91.229.3 (24 Jan 2014 22:30:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jan 2014 22:30:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 24 23:30:25 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1W6pGV-0001RU-QJ for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jan 2014 23:30:19 +0100 Original-Received: from localhost ([::1]:49155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6pGV-00006U-Ea for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jan 2014 17:30:19 -0500 X-Received: by 10.58.39.202 with SMTP id r10mr6289364vek.12.1390602358747; Fri, 24 Jan 2014 14:25:58 -0800 (PST) X-Received: by 10.140.94.234 with SMTP id g97mr46226qge.9.1390602358723; Fri, 24 Jan 2014 14:25:58 -0800 (PST) Original-Path: usenet.stanford.edu!f11no3161757qae.1!news-out.google.com!y18ni998qap.1!nntp.google.com!k15no3145886qaq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=81.221.202.11; posting-account=W7YkKQoAAACBK5oRU_iH-VD6YfJuNxe9 Original-NNTP-Posting-Host: 81.221.202.11 User-Agent: G2/1.0 Injection-Date: Fri, 24 Jan 2014 22:25:58 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:203364 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95633 Archived-At: > Instead, write: > (defun float/ (dividend divisor &rest divisors) > (apply (function /) (float dividend) divisor divisors)) That's indeed consistent, but wouldn't work for my purposes, since what I r= eally want is the millions group as an integer. (And later perhaps also th= e billions... groups.) Problem simplified, solved and generalized in the a= ctual code in question at a slight decrease in speed that has no consequenc= es in the context of its use. djc