# Number - Floating-point (system|notation) - (Float|Double) - Approximate numeric

### Table of Contents

## 1 - About

The term floating point refers to the fact that the number's radix point can float, that is, it can be placed anywhere relative to the significant digits of the number.

They are fractional numbers written with a decimal point, like 1.970

The floating-point representation is the most widely representation of real numbers.

Floating point describes a numeral system for representing numbers that would be too large or too small to be represented as number. See also: Arbitrary-precision_arithmetic

The value 4.32682E-21F is an example of a float.

## 2 - Articles Related

## 3 - Decimal point Position

The position of the decimal point is given by the exponent.

Floating-point numbers can have:

- a decimal point anywhere from the first to the last digit
- any number of digits after the decimal point
- no decimal point at all.

## 4 - Example

The number 1.25 has:

The number 5 has:

## 5 - Computer Implementation

## 6 - Syntax and Properties

Floating-point numbers are made up of four components:

- Digits (normally only significant digit)
- The sign, which is positive or negative.
- The mantissa, which is a single-digit binary number followed by a fractional part.
- The exponent, which tells where the decimal point is located in the number represented.

### 6.1 - Sign

The sign is positive or negative

### 6.2 - Mantissa

The mantissa is a single-digit binary number followed by a fractional part.

For example:

- 1.01 in base-2 notation or 1.25 in decimal notation (base 10) has the mantissa 1 + 0/2 + 1/4,

### 6.3 - Exponent

An exponent may optionally be used following the number to increase the range (for example, 1.777 e-20).

It tells where the decimal point is located in the number.