Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'binary': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '"to': 0.16; 'of"': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.17; 'feb': 0.19; 'subject:problem': 0.22; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.28; 'chris': 0.28; '0.5': 0.29; "d'aprano": 0.29; 'steven': 0.29; 'fri,': 0.30; "aren't": 0.33; 'to:addr:python-list': 0.33; 'too.': 0.35; 'received:org': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'received:46': 0.60; 'cast': 0.65; '2013': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Serhiy Storchaka Subject: Re: Confusing math problem Date: Fri, 22 Feb 2013 13:48:25 +0200 References: <512682B3.8070909@davea.name> <51268867.1000800@davea.name> <51273789$0$29988$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 46.211.126.155 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 In-Reply-To: <51273789$0$29988$c3e8da3$5496439d@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361533725 news.xs4all.nl 6898 [2001:888:2000:d::a6]:59852 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39552 On 22.02.13 11:16, Steven D'Aprano wrote: > On Fri, 22 Feb 2013 08:23:27 +1100, Chris Angelico wrote: >> and you can cast out 1's in binary to find out if it's a >> multiple of 1, too. > > O_o > > I wanna see the numbers that aren't a multiple of 1. What "to be a multiple of" means? If A is a multiple of B means A % B == 0, then 0.5 isn't a multiple of 1.