fix utf8
This commit is contained in:
parent
80737d5a6a
commit
fc81c9e6d0
45 changed files with 169 additions and 178 deletions
|
|
@ -6,7 +6,7 @@ numeric digits digs /*big digs, the slower the spits.*/
|
|||
pi=0; s=16; r=4; v=5; vs=v*v; g=239; gs=g*g; old=; spewed=0; j=1
|
||||
call time 'E'
|
||||
|
||||
/*âââââââââââââââââââââââââââââââââââââJohn Machin's formula for pi. */
|
||||
/*─────────────────────────────────────John Machin's formula for pi. */
|
||||
do n=1 by 2
|
||||
pi=pi + s/(n*v) - r/(n*g)
|
||||
if pi==old then leave /*no further with current DIGITS.*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue