<s>
In	O
mathematics	O
,	O
Borwein	B-Algorithm
's	I-Algorithm
algorithm	I-Algorithm
is	O
an	O
algorithm	O
devised	O
by	O
Jonathan	O
and	O
Peter	O
Borwein	O
to	O
calculate	O
the	O
value	O
of	O
.	O
</s>
<s>
The	O
related	O
Chudnovsky	B-Algorithm
algorithm	I-Algorithm
uses	O
a	O
discriminant	O
with	O
class	O
number	O
1	O
.	O
</s>
<s>
One	O
iteration	O
of	O
this	O
algorithm	O
is	O
equivalent	O
to	O
two	O
iterations	O
of	O
the	O
Gauss	B-Algorithm
–	I-Algorithm
Legendre	I-Algorithm
algorithm	I-Algorithm
.	O
</s>
