1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// Copyright © 2026 Mikhail Hogrefe
//
// This file is part of Malachite.
//
// Malachite is free software: you can redistribute it and/or modify it under the terms of the GNU
// Lesser General Public License (LGPL) as published by the Free Software Foundation; either version
// 3 of the License, or (at your option) any later version. See <https://www.gnu.org/licenses/>.
/// Functions for approximating Gauss's constant, $G=1/\mathrm{AGM}(1,\sqrt{2})$.
/// Functions for approximating the lemniscate constant $\varpi=\pi G$, where $G$ is Gauss's
/// constant.
/// Functions for approximating $\ln 2$.
/// Functions for approximating $\log_2 e$.
/// Functions for approximating $1/\pi$.
/// Functions for approximating $1/\sqrt{\pi}$.
/// Functions for approximating $1/\sqrt{\tau}=1/\sqrt{2\pi}$.
/// Functions for approximating $\varphi$, the golden ratio.
/// Functions for approximating $\pi$.
/// Functions for approximating $\pi/2$.
/// Functions for approximating $\pi/3$.
/// Functions for approximating $\pi/4$.
/// Functions for approximating $\pi/6$.
/// Functions for approximating $\pi/8$.
/// Functions for approximating the prime constant (the constant whose $n$th bit is 1 if and only if
/// $n$ is prime).
/// Functions for approximating the Prouhet-Thue-Morse constant (the constant whose bits are the
/// Thue-Morse sequence).
/// Functions for approximating $\sqrt{2}$.
/// Functions for approximating $\sqrt{2}/2=\sqrt{1/2}=1/\sqrt{2}$.
/// Functions for approximating $\sqrt{3}$.
/// Functions for approximating $\sqrt{3}/3=\sqrt{1/3}=1/\sqrt{3}$.
/// Functions for approximating $\sqrt{\pi}$.
/// Functions for approximating $\tau=2\pi$.
/// Functions for approximating $2/\pi$.
/// Functions for approximating $2/\sqrt{\pi}$.