Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python': 0.09; '32-bit': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:fields': 0.09; 'dec': 0.15; 'latter,': 0.16; 'message- id:@dough.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:bit': 0.16; 'wrote:': 0.17; 'platforms': 0.18; 'dropped': 0.22; 'runs': 0.22; 'url:bugs': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'question': 0.27; 'header:X-Complaints-To:1': 0.28; "d'aprano": 0.29; 'steven': 0.29; 'worked': 0.30; 'url:python': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'to:addr :python-list': 0.33; 'so,': 0.35; 'there': 0.35; 'received:org': 0.36; 'but': 0.36; 'url:org': 0.36; "wasn't": 0.36; "didn't": 0.36; 'ones': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'subject:-': 0.40; 'header:Received:5': 0.40; 'think': 0.40; 'edwards': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Extracting bit fields from an IEEE-784 float Date: Mon, 30 Jul 2012 15:50:04 +0100 References: <5015d8d4$0$11120$c3e8da3@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: host-78-147-181-176.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: X-Antivirus: avast! (VPS 120730-0, 30/07/2012), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1343659747 news.xs4all.nl 6953 [2001:888:2000:d::a6]:57577 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:26257 On 30/07/2012 15:16, Grant Edwards wrote: > On 2012-07-30, Steven D'Aprano wrote: > >> 1) Are there any known implementations or platforms where Python floats >> are not C doubles? If so, what are they? > > And the question you didn't ask: are there any platforms where a C > double isn't IEEE-754? > > The last ones I worked on that where the FP format wasn't IEEE were > the DEC VAX and TI's line if 32-bit floating-point DSPs. I don't > think Python runs on the latter, but it might on the former. > Support for Python on VMS has been dropped for v3.3 see http://bugs.python.org/issue11918 -- Cheers. Mark Lawrence.