Exploringbinary - exploringbinary.com - Exploring Binary
General Information:
Latest News:
Goodbye Google Reader Subscribers 30 Jun 2013 | 08:20 pm
Google Reader is going away tomorrow, July 1, 2013. That means the majority of my RSS subscribers will have to find another RSS reader. I wish I could recommend one, but I am still trying to find a co...
Incorrect Round-Trip Conversions in Visual C++ 10 May 2013 | 12:15 am
Paul Bristow, a Boost.Math library author and reader of my blog, recently alerted me to a problem he discovered many years ago in Visual C++: some double-precision floating-point values fail to round-...
The Shortest Decimal String That Round-Trips: Examples 1 May 2013 | 06:52 am
The exact decimal equivalent of an arbitrary double-precision binary floating-point number is typically an unwieldy looking number, like this one: 0.100000000000000005551115123125782702118158340454101...
Number of Decimal Digits In a Binary Integer 1 Apr 2013 | 08:50 am
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 ...
How the Negative Powers of Ten and Two Are Interleaved 25 Feb 2013 | 08:31 pm
I showed how the positive powers of ten and two are interleaved, and said that the interleaving of the negative powers of ten and two is its mirror image. In this article, I will show you why, and pro...
How the Positive Powers of Ten and Two Are Interleaved 20 Feb 2013 | 07:28 pm
To truly understand decimal to binary and binary to decimal conversion, you should know how the powers of ten and the powers of two relate. In particular, you should know how they are interleaved. The...
Exploring Binary Wordle 16 Feb 2013 | 10:51 pm
My son had to create a wordle for a writing assignment recently, which gave me the idea to create my own. Here’s one that Wordle randomly generated for this site (my home page): No surprises there . (...
Ratio of Bits to Decimal Digits 1 Feb 2013 | 12:53 am
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 misleadi...
Number of Bits in a Decimal Integer 14 Dec 2012 | 01:08 am
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 bi...
Special Case Laws of Exponents for Powers of Two 1 Dec 2012 | 04:59 am
In my article “Composing Powers of Two Using The Laws of Exponents” I showed how to combine powers of two using the standard laws of exponents. There are two other rules I use when combining powers of...