Module constants

Source
Expand description

Functions that produce Float approximations of mathematical constants, using a given precision and rounding mode.

Modulesยง

prime_constant
Functions for approximating the prime constant (the constant whose $n$th bit is 1 if and only if $n$ is prime).
thue_morse_constant
Functions for approximating the Thue-Morse constant (the constant whose bits are the Thue-Morse sequence).