From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Re: program to compute gears, with table Date: Fri, 8 Sep 2017 07:12:11 -0500 Message-ID: References: <86bmmlu54a.fsf@zoho.com> <20170908112750.GA23994@tuxteam.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1504872760 23379 195.159.176.226 (8 Sep 2017 12:12:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Sep 2017 12:12:40 +0000 (UTC) Cc: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 08 14:12:37 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqI9C-0005ks-Rq for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Sep 2017 14:12:34 +0200 Original-Received: from localhost ([::1]:45181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqI9K-0005Jj-3Z for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Sep 2017 08:12:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqI8t-0005JC-33 for help-gnu-emacs@gnu.org; Fri, 08 Sep 2017 08:12:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqI8r-00020k-Ss for help-gnu-emacs@gnu.org; Fri, 08 Sep 2017 08:12:15 -0400 Original-Received: from mail-it0-x236.google.com ([2607:f8b0:4001:c0b::236]:45692) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dqI8r-000201-JW for help-gnu-emacs@gnu.org; Fri, 08 Sep 2017 08:12:13 -0400 Original-Received: by mail-it0-x236.google.com with SMTP id v19so1230792ite.0 for ; Fri, 08 Sep 2017 05:12:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=7wwLGbbSXsDx22lEMuwweNn7b5tgNJq5fIk5CSPtxiM=; b=btcnBXkx7AUbMSfhgr5S3fj/+qOWpjp7ZSFiYzhoCw4rHeU5v9UZgmauYbvtfpnWtd i+FY7KizZEA9/r74mpgILQGBhj4k80+thYBZ08DZmwRQ3k11CxxUb7esBkDL9kp+2fwu akmHlvxp7yTGt9GRchpdPk6N4kfxud4kqcNZUnFsBw2gRN6NLDqbHabxNFbEOL/P6xtv 6D80lBc3AJwaMJBBROa+NOjQgB8iB6iqaAuh8tmBVqUh3zA/lboASkxgCIIxDZobe3UE L1r7FjGMkHxAiXhL8YnpaZmd3u3Uu90Tc2vF1BjCk/Rh/SCbMOj7Acy9uQQ4QCcXub36 3Sng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc; bh=7wwLGbbSXsDx22lEMuwweNn7b5tgNJq5fIk5CSPtxiM=; b=b+CGsgDX30wGQgq8oehOwDCgegEj0wEeZoDSDBS/rTnFerExYPIe5wUMnhZ4wteB2f 0kTxpIvf+gv1yXDAbs9qJPVfKHAKYg8DH2T55mcYFJhPq9Bck0kFfHX1ILTPocjnss4W 0i6ZcYnNEVJvyKKUlSuifxSN0UPKr6+louGvHBUvGGbjyMgOiAIEbXiJ+C+ejGv5lGRd CK7KuD5DCHAVWjlGqJ5KYth17EnkVKJI1kRcGiknzgo4Ldnd52H6B93srRIs3+x0PZS7 oCs85anOUUi/2k/iE/wexJfvfvQxzTXtbhtbiZcUyMzx0ZYRDfdFA6wWRmlmPmF7e7kg fr/Q== X-Gm-Message-State: AHPjjUiHNCM13Zey6/Vj3J72zUAlI/WepPu5HwKttt6JwSBtkTT96/wl zW91oWcxPgzWpfyG9H7zBTZ6sKv1YkeobpOTZMGj+EYk6g== X-Google-Smtp-Source: AOwi7QBwhKLon+tFtQM90r1zWWiWSdVVgxfCk8/kEGNV6oHBIAZDzz7vJDpQRqx85uMoYU0Xfe2nFTyslpKDNOLB2hc= X-Received: by 10.36.70.146 with SMTP id j140mr549580itb.83.1504872732332; Fri, 08 Sep 2017 05:12:12 -0700 (PDT) Original-Received: by 10.2.60.2 with HTTP; Fri, 8 Sep 2017 05:12:11 -0700 (PDT) In-Reply-To: <20170908112750.GA23994@tuxteam.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::236 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:114198 Archived-At: > because... > > (/ 2 3) => 0 > (/ 2 3 1.0) => 0.6666666666666666 > > (division defaults to integer division when all args are int) Ah, right. Been awhile since I did anything with ELisp (or any other Lisp). I've gotten used to Python's // operator when I need integer division. S