The work is carried out in a pair of loops.
Look for the details at
find_big_2_to_nth()
and
find_radix_from_big_2_to_nth()
.
# Basic 1160-1230
print("Searching for radix B and PRECISION.")
big_2_to_nth = find_big_2_to_nth()
B = find_radix_from_big_2_to_nth(big_2_to_nth)
if B < TWO: # TODO: log case
B = ONE
print("B = {:0.4f} .\n".format(B))
The case B == 1
is deferred for now. The underlying topic is
log arithmetic, which is known only to have been tried experimentally
in parts of Paranoia.