# Normalised Floating-Point Binary

This page shows you how to normalise floating-point binary numbers, which is a requirement of A level Computer Science courses.

Normalised floating-point binary numbers are the binary equivalent of denary standard form. Very large or very small numbers have their digits shifted left or right so that they start immediately to the right of the binary point - this forms the *mantissa* - and the number of places it's been shifted to the right becomes the *exponent* (with a negative number indicating that the mantissa was shifted to the left). The only slight difference between normalised binary and denary standard form is that, in denary, the mantissa is greater than or equal to one and less than ten - i.e. there are digits to the left of the decimal point - whereas in binary, because we use *two's complement* form for negative numbers, the bit before the point is used as the sign, with all of the actual number coming after the point.

This page is a normalised binary calculator (using the two's complement method) - you can enter a denary number in the textbox below and the required mantissa and exponent will be displayed, along with an explanation of the process. If you aren't familiar with the use of binary for fractions and negative numbers, click here.

Note that there seems to be some confusion over the method used for negative numbers, with some textbooks normalising first and some finding the complement first. This page shows you the result if you find the complement first - the preferred method for A level Computer Science. There are also other methods for storing floating-point binary numbers, including IEEE 754.

Input a

8

4

## Floating Point Representation

### Explanation

If you're interested to see how this page is coded you can view the Python prototype on Replit.