Web Images News Groups Scholar Blogs Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Calculate PI upto 3000 decimal places (free software) extended precision
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tony Lance  
View profile  
 More options Nov 3, 5:36 pm
Newsgroups: sci.math
From: Tony Lance <tonyla...@myinternetuk.com>
Date: Tue, 03 Nov 2009 12:36:34 EST
Local: Tues, Nov 3 2009 5:36 pm
Subject: Calculate PI upto 3000 decimal places (free software) extended precision
From: Tony Lance <judema...@bigberthathing.co.uk>
Newsgroups: swnet.sci.astro,sci.space.policy
Subject: Re: Big Bertha Thing tidings
Date: Fri, 06 Apr 2007 15:04:46 +0100

Big Bertha Thing PI
Cosmic Ray Series
Possible Real World System Constructs
http://www.tonylance.talktalk.net/calpi.html
Access page to 46K ZIP file
Astrophysics net ring access site
Newsgroup Reviews including alt.politics.bush

Calculate PI upto 3000 decimal places.

Ready to run Fortran 77 program complete with original
source code and ported source code in listing format.
Adds extended precision routines to Fortran 77.
Written by Mark P. Esplin
Ported to Fortran 77
By Tony Lance

Big Bertha Thing general

A general told his troops, before the big battle, "Right lads,
we are outnumbered 4 to 1, but we are much better than them,
so we should win through in the end!"

Half-way through the battle he sees one of his men
leaning against a tree smoking. He rushes up to him,
calls him all the names under the sun
and asks him what he thinks he is doing?
He replied "I have already killed my four."
Try not to turn the minimum requirements,
into the maximum of your endeavour.

(C) Copyright Tony Lance 1999.
To comply with my copyright,
please distribute complete and free of charge.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mensanator  
View profile  
 More options Nov 3, 5:47 pm
Newsgroups: sci.math
From: Mensanator <mensana...@aol.com>
Date: Tue, 3 Nov 2009 09:47:09 -0800 (PST)
Local: Tues, Nov 3 2009 5:47 pm
Subject: Re: Calculate PI upto 3000 decimal places (free software) extended precision
On Nov 3, 11:36 am, Tony Lance <tonyla...@myinternetuk.com> wrote:

Fortran 77? This is the 21st century. Try to keep up.

Python 3.1 (r31:73574, Jun 26 2009, 20:21:35) [MSC v.1500 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

>>> import gmpy
>>> gmpy.pi(10000)

mpf
('3.14159265358979323846264338327950288419716939937510582097494459230781640 628620899862803482534211706798214808651328230664709384460955058223172535940 812848111745028410270193852110555964462294895493038196442881097566593344612 847564823378678316527120190914564856692346034861045432664821339360726024914 127372458700660631558817488152092096282925409171536436789259036001133053054 882046652138414695194151160943305727036575959195309218611738193261179310511 854807446237996274956735188575272489122793818301194912983367336244065664308 602139494639522473719070217986094370277053921717629317675238467481846766940 513200056812714526356082778577134275778960917363717872146844090122495343014 654958537105079227968925892354201995611212902196086403441815981362977477130 996051870721134999999837297804995105973173281609631859502445945534690830264 252230825334468503526193118817101000313783875288658753320838142061717766914 730359825349042875546873115956286388235378759375195778185778053217122680661 300192787661119590921642019893809525720106548586327886593615338182796823030 195203530185296899577362259941389124972177528347913151557485724245415069595 082953311686172785588907509838175463746493931925506040092770167113900984882 401285836160356370766010471018194295559619894676783744944825537977472684710 404753464620804668425906949129331367702898915210475216205696602405803815019 351125338243003558764024749647326391419927260426992279678235478163600934172 164121992458631503028618297455570674983850549458858692699569092721079750930 295532116534498720275596023648066549911988183479775356636980742654252786255 181841757467289097777279380008164706001614524919217321721477235014144197356 854816136115735255213347574184946843852332390739414333454776241686251898356 948556209921922218427255025425688767179049460165346680498862723279178608578 438382796797668145410095388378636095068006422512520511739298489608412848862 694560424196528502221066118630674427862203919494504712371378696095636437191 728746776465757396241389086583264599581339047802759009946576407895126946839 835259570982582262052248940772671947826848260147699090264013639443745530506 820349625245174939965143142980919065925093722169646151570985838741059788595 977297549893016175392846813826868386894277415599185592524595395943104997252 468084598727364469584865383673622262609912460805124388439045124413654976278 079771569143599770012961608944169486855584840635342207222582848864815845602 850601684273945226746767889525213852254995466672782398645659611635488623057 745649803559363456817432411251507606947945109659609402522887971089314566913 686722874894056010150330861792868092087476091782493858900971490967598526136 554978189312978482168299894872265880485756401427047755513237964145152374623 436454285844479526586782105114135473573952311342716610213596953623144295248 493718711014576540359027993440374200731057853906219838744780847848968332144 571386875194350643021845319104848100537061468067491927819119793995206141966 342875444064374512371819217999839101591956181467514269123974894090718649423 19615679452080951463e0',
10000)


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Lance  
View profile  
 More options Nov 3, 6:06 pm
Newsgroups: sci.math
From: Tony Lance <tonyla...@myinternetuk.com>
Date: Tue, 3 Nov 2009 10:06:22 -0800 (PST)
Local: Tues, Nov 3 2009 6:06 pm
Subject: Re: Calculate PI upto 3000 decimal places (free software) extended precision
Hi there,
Ten years ago, someone poured scorn on this posting, so some-else did
what you did and posted 3000 decimal places of pi, using my software.
I have got a Fortran 95 compiler software package. It cost 175 pounds
stirling. Unfortunately that is as far as I got.
Google has just filtered it out using the smtp protocol, which tells
you of emails not delivered and why. (swnet.sci.astro)
Once upon a time AOL and Compuserve thought they owned the internet,
whereas they only had little walled gardens. Google thinks it owns
usenet. (deja-vu)
Thank you,
Tony Lance
tonyla...@myinternetuk.com
+++++++++++++++++++++++++++++++++++++


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mensanator  
View profile  
 More options Nov 3, 6:36 pm
Newsgroups: sci.math
From: Mensanator <mensana...@aol.com>
Date: Tue, 3 Nov 2009 10:36:05 -0800 (PST)
Local: Tues, Nov 3 2009 6:36 pm
Subject: Re: Calculate PI upto 3000 decimal places (free software) extended precision
On Nov 3, 12:06 pm, Tony Lance <tonyla...@myinternetuk.com> wrote:

> Hi there,
> Ten years ago, someone poured scorn on this posting,

As well they should.

> so some-else did
> what you did and posted 3000 decimal places of pi, using my software.

I had no need of your software. There should be absolutely no interest
in this junk as it has been superceeded by other languages.

> I have got a Fortran 95 compiler software package. It cost 175 pounds
> stirling. Unfortunately that is as far as I got.

Wasted 175 pounds, eh? By the way, Python costs nothing.

> Google has just filtered it out using the smtp protocol, which tells
> you of emails not delivered and why. (swnet.sci.astro)
> Once upon a time AOL and Compuserve thought they owned the internet,
> whereas they only had little walled gardens. Google thinks it owns
> usenet. (deja-vu)

Is there some point to this prattle?


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Remcheese  
View profile  
 More options Nov 3, 8:59 pm
Newsgroups: sci.math
From: "Remcheese" <nos...@spamless.com>
Date: Tue, 3 Nov 2009 14:59:57 -0600
Local: Tues, Nov 3 2009 8:59 pm
Subject: Re: Calculate PI upto 3000 decimal places (free software) extended precision

"Mensanator" <mensana...@aol.com> wrote in message

news:4846467e-db50-455d-a8f3-ed8d1c08e89a@l2g2000yqd.googlegroups.com...
On Nov 3, 12:06 pm, Tony Lance <tonyla...@myinternetuk.com> wrote:

> Hi there,
> Ten years ago, someone poured scorn on this posting,
>As well they should.
>> so some-else did
>> what you did and posted 3000 decimal places of pi, using my software.
>I had no need of your software. There should be absolutely no interest
>in this junk as it has been superceeded by other languages.
>> I have got a Fortran 95 compiler software package. It cost 175 pounds
>> stirling. Unfortunately that is as far as I got.
>Wasted 175 pounds, eh? By the way, Python costs nothing.

**************************************

Ugh, FORTRAN 95 (should be all caps)

How many byte precision is it ?  8 or 16 ?

bet pi was a challenge with such crummy precision


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dann Corbit  
View profile  
 More options Nov 3, 9:40 pm
Newsgroups: sci.math
From: Dann Corbit <dcor...@connx.com>
Date: Tue, 3 Nov 2009 13:40:33 -0800
Local: Tues, Nov 3 2009 9:40 pm
Subject: Re: Calculate PI upto 3000 decimal places (free software) extended precision
In article <hcq5l5$dt...@news.albasani.net>, nos...@spamless.com says...

Nope.  Since Fortran 90, only the first letter has been capitalized.

> How many byte precision is it ?  8 or 16 ?

> bet pi was a challenge with such crummy precision

Calculation of pi to 32000 digits is trivial even with integer
precision:

dcorbit@DCORBIT2008 /c/tmp
$ cat dikpi.c
/* Calculation of pi to 32372 decimal digits */
/* After Dik T. Winter, CWI Amsterdam */
#include<stdio.h>
unsigned a=1e4,b,c=113316,d,e,f[113316],g,h,i;
int main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a)
while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d-g*h;
return 0;}

dcorbit@DCORBIT2008 /c/tmp
$ gcc -O3 -W -Wall -ansi -pedantic dikpi.c
dikpi.c: In function 'main':
dikpi.c:6: warning: suggest parentheses around assignment used as truth
value

dcorbit@DCORBIT2008 /c/tmp
$ ./a.exe
314159265358979323846264338327950288419716939937510582097494459230781640
62862089986280348253421170679821480865132823066470938446095505822317
253594081284811174502841027019385211055596446229489549303819644288109756
65933446128475648233786783165271201909145648566923460348610454326648
213393607260249141273724587006606315588174881520920962829254091715364367
89259036001133053054882046652138414695194151160943305727036575959195
[snip of many digits]
*/


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Lance  
View profile  
 More options Nov 4, 6:38 pm
Newsgroups: sci.math
From: Tony Lance <tonyla...@myinternetuk.com>
Date: Wed, 4 Nov 2009 10:38:24 -0800 (PST)
Local: Wed, Nov 4 2009 6:38 pm
Subject: Re: Calculate PI upto 3000 decimal places (free software) extended precision
Hi Dann,
16 bit precision. I did not write it just ported it to 77. It was
originally Microsoft Fortran.
It has a suite of subroutines to extend the precision to 3000 decimal
places.
Fortran 95 has quad precision and lets you write programs as big as
you like.
Here is output from one I wrote in 1997 using 77. see link:-
http://groups.google.co.uk/group/swnet.sci.astro/browse_frm/thread/a0...
It only took 42 years to get to this point. (10 years Fortran and 4
years maths)
Thank you,
Tony Lance
tonyla...@myinternetuk.com
+++++++++++++++++++++++++++++++++++++++++++


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google