Check Machin-like formulas: Difference between revisions

m
(Dialects of BASIC moved to the BASIC section.)
m (→‎{{header|Wren}}: Minor tidy)
 
Line 2,942:
{{libheader|Wren-fmt}}
We already have a BigRat class so we use that.
<syntaxhighlight lang="ecmascriptwren">import "./big" for BigRat
import "./fmt" for Fmt
 
/** represents a term of the form: c * atan(n / d) */
Line 3,035:
false: 1 == tan(88*atan(1/172) + 51*atan(1/239) + 32*atan(1/682) + 44*atan(1/5357) + 68*atan(1/12944))
</pre>
 
=={{header|XPL0}}==
<syntaxhighlight lang="xpl0">code ChOut=8, Text=12; \intrinsic routines
9,477

edits