Metraipolis › archive › dc_4a8ca5ae289c

Floating-point arithmetic — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Floating-point_arithmetic
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-31T07:29:53.137Z
SHA-256 of the archived text
eed1be48410553873a5e29149eb8e4fd2bfb3a5e75f9f40304fe6e3d7dd0a7cb
Stable URL of this page
https://metraipolis.com/documento/dc_4a8ca5ae289c

How to cite

Floating-point arithmetic — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Floating-point_arithmetic (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_4a8ca5ae289c (Metraipolis archive dc_4a8ca5ae289c, sha256 eed1be48410553873a5e29149eb8e4fd2bfb3a5e75f9f40304fe6e3d7dd0a7cb)
BibTeX
@misc{dc4a8ca5ae289c,
  title = {Floating-point arithmetic — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Floating-point_arithmetic},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_4a8ca5ae289c; sha256 eed1be48410553873a5e29149eb8e4fd2bfb3a5e75f9f40304fe6e3d7dd0a7cb},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Floating-point_arithmetic. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

In computing, floating-point arithmetic (FP) is arithmetic on subsets of real numbers formed by a significand (a signed sequence of a fixed number of digits in some base) multiplied by an integer power of that base. Numbers of this form are called floating-point numbers. For example, the number 2469/200 is a floating-point number in base 10 with five digits: 2469 / 200 = 12.345 = 12345 ⏟ significand × 10 ⏟ base − 3 ⏞ exponent {\displaystyle 2469/200=12.345=\!\underbrace {12345} _{\text{significand}}\!\times \!\underbrace {10} _{\text{base}}\!\!\!\!\!\!\!\overbrace {{}^{-3}} ^{\text{exponent}}} However, 7716/625 = 12.3456 is not a floating-point number in base 10 with five digits—it needs six digits. The nearest floating-point number with only five digits is 12.346. And 1/3 = 0.3333... is not a floating-point number in base ten with any finite number of digits. In practice, most floating-point systems use base two, though base ten (decimal floating point) is also common. Floating-point arithmetic operations, such as addition and division, approximate the corresponding real number arithmetic operations by rounding any result that is not a floating-point number itself to a nearby floating-point number. For example, in a floating-point arithmetic with five base-ten digits, the sum 12.345 + 1.0001 = 13.3451 might be rounded to 13.345. The term floating point refers to the fact that the number's radix point can "float" anywhere to the left, right, or between the significant digits of the number. This position is indicated by the exponent, so floating point can be considered a form of scientific notation. A floating-point system can be used to represent, with a fixed number of digits, numbers of very different orders of magnitude – such as the number of meters between galaxies or between protons in an atom. For this reason, floating-point arithmetic is often used to allow very small and very large real numbers that require fast processing times. The result of this dynamic range is that the numbers that can be represented are not uniformly spaced; the difference between two consecutive representable numbers varies with their exponent. Over the years, a variety of floating-point representations have been used in computers. In 1985, the IEEE 754 Standard for Floating-Point Arithmetic was established, and since the 1990s, the most commonly encountered representations are those defined by the IEEE. The speed of floating-point operations, commonly measured in terms of FLOPS, is an important characteristic of a computer system, especially for applications that involve intensive mathematical calculations. Floating-point numbers can be computed using software implementations (softfloat) or hardware implementations (hardfloat). floating-point units (FPUs, colloquially math coprocessors) are specially designed to carry out operations on floating-point numbers and are part of most computer systems. When FPUs are not available, software implementations can be used i

Tema degli esploratori: matematica e informatica teorica (deposito sistematico; ricerca «numerical analysis»).
Fonte: Wikipedia in inglese, voce «Floating-point arithmetic» — https://en.wikipedia.org/wiki/Floating-point_arithmetic
Wikidata Q117879: «metodo di rappresentazione dei numeri reali usato in informatica» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q117879
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Floating-point_arithmetic?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1382472592, consultata il 2026-10-31T07:19:40.972Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 2a9998d1c89587857703a4164b72f112bf6d9e98fc7cbca860d496b54f0465f8