All posts by Thomas N

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 →

What are floating point errors? [Answered]

Computers are not always as accurate as we think. They do very well at what they are told to do and can do it very fast. But in many cases, a small inaccuracy can have dramatic consequences. A very well-known problem is floating point errors. Floating point numbers have limitations on how accurately a number … Continue reading What are floating point errors? [Answered] →