Converting a Bicimal to a Fraction (Direct Method)
There are several ways to convert a repeating bicimal to a fraction. I’ve shown you the subtraction method; now I’ll show you the direct method, my name for the method that creates a fraction directly,...
View ArticleConverting a Bicimal to a Fraction (Series Method)
I’ve shown you two ways to convert a bicimal to a fraction: the subtraction method and the direct method. In this article, I will show you a third method — a common method I call the series method —...
View Article“0.1 Repeating” In Binary Equals 1
In decimal, “0.9 repeating”, or 0.9, equals 1. In binary, a similar thing is true: “0.1 repeating”, or 0.1, equals 1. I’ll show you three ways to prove it, using the three bicimal to fraction...
View ArticleGoogling ‘Binary’ Returns Count of Results In Binary
I just noticed something cute: if you Google binary, Google returns its count of results in binary. Here’s a screenshot: The first line says “About 0b1000110100100100110100000000 results”. '0b' is the...
View ArticleNumber of Bits in a Decimal Integer
Every integer has an equivalent representation in decimal and binary. Except for 0 and 1, the binary representation of an integer has more digits than its decimal counterpart. To find the number of...
View ArticleRatio of Bits to Decimal Digits
Excluding 0 and 1, it takes more digits to express an integer in binary than in decimal. How many more? The commonly given answer is log2(10) times more, or about 3.32 times more. But this is...
View ArticleNumber of Decimal Digits In a Binary Integer
This is a companion article to “Number of Bits in a Decimal Integer” If you have an integer expressed in decimal and want to know how many bits are required to express it in binary, you can perform a...
View ArticleHour of Code: Binary Numbers and Binary Addition
I want to contribute to the Hour of Code event happening now during Computer Science Education Week. I don’t write about computer programming, but I do write extensively about how computers work — in...
View ArticleMy Fretlight Guitar As a Binary Clock
With a little research and some USB tracing, I wrote a Windows program — and an Android app — that turns my Fretlight guitar into a BCD mode binary clock! My Fretlight BCD Clock (click image for video)...
View ArticleMy Fretlight Guitar Binary Clock: Raspberry Pi Edition
I’ve previously written a Windows program (in C++) and an Android app (in Java) to turn my Fretlight guitar into a binary clock. I’ve now written a Python program to do the same, running under Raspbian...
View ArticleBinary Numbers Haiku (by ChatGPT)
Continuing with my recent conversation with ChatGPT I thought I’d ask it if it could write haiku about binary numbers, like I have: Nice, but I was looking for the 5/7/5 syllable format (this is...
View ArticleChatGPT Writes Decent Code For Binary to Decimal Conversion
OK, enough just playing around with ChatGPT; let’s see if it can write some code: (The line that got cut off in the screenshot of the second solution is decimal += (binaryArray[i] - '0') *...
View Article