Tag Archives: binary

Binary numbers – floating point conversion

A binary number with 8 bits (1 byte) can represent a decimal value in the range from 0 – 255. However, this only includes whole numbers and no real numbers (e.g. fractions) like 0.5 or 20.456 etc. To represent all real numbers in binary form, many more bits and a well defined format is needed. … Continue reading Binary numbers – floating point conversion →

Famous number computing errors

  Everything a computer does happens with numbers. A character in the alphabet is represented by a number in the computer memory, colors are numbers and even any decimal number has its specific representation in memory. Those numbers which are used by a computer are binary numbers [See: Why do computers use binary numbers?], and … Continue reading Famous number computing errors →

Demonstration of Floating Point Error and Code [Java]

It’s one thing to read about what  floating point errors are and about famous computer errors, but it’s another thing to watch a demonstration of how floating point error can occur and to look at the code underneath the hood.         This For more demonstrations like this, check out our top 5 … Continue reading Demonstration of Floating Point Error and Code [Java] →