# HG changeset patch # User Steve Losh # Date 1693236625 14400 # Node ID 4a3841624d4cae7a5af78e029d01222b7630df5b # Parent b6a2dcc7df717d553e844b76b7d667f3bc567767 Update diff -r b6a2dcc7df71 -r 4a3841624d4c README.markdown --- a/README.markdown Mon Aug 28 11:07:47 2023 -0400 +++ b/README.markdown Mon Aug 28 11:30:25 2023 -0400 @@ -103,3 +103,18 @@ past and forgotten about it. The full precision is there, it was only rounding to display. I set it to 6 to avoid this, but also the `PREFIX` key will show the full precision temporarily. + +Figured out (again) how to program the calculator to do logs of arbitrary bases. +Essentially: + + logₓ(y) = ln(y)/ln(x) + + stack + LBL C x y + LN x ln(y) + x<->y ln(y) x + LN ln(y) ln(x) + ÷ ln(y)/ln(x) = logₓ(y) + RTN + +