Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'binary': 0.07; 'compiler': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'assume': 0.14; 'bits.': 0.16; 'exponent': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'bit': 0.19; 'unlike': 0.19; 'machine': 0.22; 'url:home': 0.24; 'header:X-Complaints-To:1': 0.27; 'moved': 0.30; '(although': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'could': 0.34; 'there': 0.35; 'charset:us-ascii': 0.36; 'step': 0.37; 'received:76': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'most': 0.60; 'hardware': 0.61; 'further': 0.61; 'real': 0.63; 'different': 0.65; 'russian': 0.74; 'laid': 0.84; 'xerox': 0.84; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Short-circuit Logic Date: Thu, 30 May 2013 19:31:47 -0400 Organization: > Bestiaria Support Staff < References: <51a4b5a1$0$29966$c3e8da3$5496439d@news.astraweb.com> <04b90c02-833a-4bad-88ad-ab71178b8f79@googlegroups.com> <48519aa0-d0cd-4ffc-a2f5-2107465321d8@qn4g2000pbc.googlegroups.com> <51a6b969$0$29966$c3e8da3$5496439d@news.astraweb.com> <51a6e6b8$0$11118$c3e8da3@news.astraweb.com> <51a70df4$0$11118$c3e8da3@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-76-253-96-209.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369956718 news.xs4all.nl 15916 [2001:888:2000:d::a6]:33450 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46558 On 30 May 2013 08:29:41 GMT, Steven D'Aprano declaimed the following in gmane.comp.python.general: > Prior to most compiler and hardware manufacturers standardizing on IEEE > 754, there was no real way to treat float's implementation in a machine > independent way. Every machine laid their floats out differently, or used > different number of bits. Some even used decimal, and in the case of a > couple of Russian machines, trinary. (Although that's going a fair way > back.) > Xerox Sigma used an exponent that moved in "16", so a "normalized" binary mantissa could have up to three leading 0 bits, unlike so many others that assume a normalized mantissa will have a 1 bit (and then go one step further and don't store that leading 1 bit ). -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/