Member-only story
Binary for Programmers
Let us run through a basic guide for programmers
I’ve seen many presumptions and assumptions that programmers not only know Binary
, but can easily convert betweenDenary
and Binary
and even perform some Binary
mathematical operations.
This Medium post represents the missing guide that we need to help us not only understand Binary
andDenary
, but be in a position to build upon that knowledge when we implement Binary
operations in our chosen programming language.
Difficulty: Beginner | Easy | Normal | Challenging
Prerequisites:
- None, but for practical purposes it would be useful to be able to produce a “Hello, World!” application in your chosen programming language
Terminology
Base number system: A term that means roughly the same as “Number bases”
Binary: The name of the base 2 number system
Decimal: The system for denoting Integer and Non-Integer numbers
Denary: The name of the base 10 numbering system
Hundred: The number equivalent to the product of ten and ten; ten more than ninety; 100
Integer: A number that has no fractional part, that is no digits after the decimal point
Number bases: The number of different digits that a system of counting uses