Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.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.069 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.01; 'subject:Python': 0.06; 'bits': 0.09; 'skip:x 70': 0.09; 'python': 0.11; 'precision.': 0.16; 'received:74.208.4.195': 0.16; 'subject:Was': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'header :In-Reply-To:1': 0.27; "doesn't": 0.30; 'subject: (': 0.35; 'anywhere': 0.35; 'but': 0.35; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'is.': 0.60; 'subject:The': 0.64; 'great': 0.65; 'received:74.208': 0.68; 'subject:have': 0.80; 'julia': 0.84; 'terrible': 0.84 Date: Sun, 11 May 2014 23:10:38 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Fortran (Was: The "does Python have variables?" debate) References: <87tx91warf.fsf@elektro.pacujo.net> <85eh05cdjx.fsf@benfinney.id.au> <87ha50hagu.fsf@elektro.pacujo.net> <536b8411$0$29965$c3e8da3$5496439d@news.astraweb.com> <536b9308$0$29965$c3e8da3$5496439d@news.astraweb.com> <536bab23$0$29965$c3e8da3$5496439d@news.astraweb.com> <87mweotfe5.fsf@dpt-info.u-strasbg.fr> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:2HrUFXGZbp0n5nq27g+TaqzdxGtJ02IVJXI+BQBPgI6 Rf9cwW7Mt9pyVjo8ZymdmeESOT5P/AN5ljlivcI6fYwQqTyLbD Tj08ppuT4+dSsgg2gfpCD5aM6QnqH3tNkdPHeBylPrUf3hzt2J Gn58/X+wO4sIuuDbxaDcWguhgzI1HCWY9P+AIKWf/H/dYyXvFM EDKTEqJbcSuHQbC47ndO8zA7hTzO9+RXvyFToiXbJabSduYq4T 3PbVIY19QC1tGDcOdkkE+LA3qoF3OlyveWwD2sCNGp3Utezt/T euPiy1OkZCGaTjaL/7T+0QpebKXgGDpBFrDBsoxnoRoo0WeMg= = X-Mailman-Approved-At: Mon, 12 May 2014 05:31:54 +0200 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399865515 news.xs4all.nl 2902 [2001:888:2000:d::a6]:52940 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71365 On 05/11/2014 02:54 PM, Mark H Harris wrote: > > >julia> sin(BigFloat(π/4)) > > 7.0710678118654750275194295621751674626154323953749278952436611913748 > > 20215180412e-01 with 256 bits of precision > That answer doesn't seem to come anywhere near 256 bits of precision. Using Python 3.2, >>> x=70710678118654750275194295621751674626154323953749278952436611913748 >>> x*x 4999999999999999693838300213161705693483516931249926767981110058185818806614907837502621065882204197129973479350206261627418690991407504 Not that this is surprising, but it does make a terrible ad for how great Julia is. -- DaveA