Eroxl's Notes
Floating Point Number

A floating point number is a way of representing fractional numbers in binary using scientific notation. This system allows for the representation of very large and very small numbers, with differing levels of precision.

Terminology

Representation In Computers

When floating point numbers are represented in computers only the mantissa and exponent are stored as well as a sign bit for indicating negative numbers.

Example

would be stored in the computer as

Note

The 0 sign bit represents that it's a positive number, if it were a negative number the sign bit would be a 1

Imprecision

TODO: Imprecision with non fractions of 2 and long numbers