Obligatory pedantic comment: &quot;base-2 decimal&quot; is an oxymoron<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Repeating_decimal#Extension_to_other_bases" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Repeating_decimal#Extension_to...</a>