Jump to content
Science Forums

Recommended Posts

Posted

Base 2 is advantageous because even just the integer part gives better resolution than a larger base and it's easy to reckon by just doubling repeatedly: 2, 4, 8, 16 etc. Easier yet for an old Z80 nerd! :D

 

For estimating the fractional part by the ratio r with an exact power of 2 it's enough to add lg r so it's enough to know the base 2 logarithm of a few numbers between 1 and 2, such as 1.2, 1.5, 1.7 etc. To get these it's enough to divide the natural logarithms by ln 2 which is about 0,69314718, so for instance:

 

[math]\lg 1.5 = \frac{\ln 1.5}{\ln 2} = \frac{\ln 1.5}{0.69314718} = 0.585[/math]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...