cnt. ... log(3)
First of all,
3 = 2 * (3/2)
and
2 = (3/2) *(4/3)
hence
3 = (3/2)^2 * (4/3)
but
3/2 = (4/3) * (9/8)
and finally:
3 = (4/3)^3 * (9/8)^2
In other words:
log(3) = 3*log(4/3) + 2*log(9/8)
Thus, a computation of log(3) is virtually as fast as that of log(2) (see the previous note: https://whmth.blogspot.com/2024/05/near-1-fractions-and-computing-log2.html).
Comments
Post a Comment