Precision (computer science)
In computer science, the precision of a numerical quantity is a measure of the detail in which the quantity is expressed.[src] This is usually measured in bits, but sometimes in decimal digits.[src] It is related to precision in mathematics, which describes the number of digits that are used to express a value.[src] Some of the standardized floating-point precision formats are: * Half-precision floating-point format * Single-precision floating-point format * Double-precision floating-point format * Quadruple-precision floating-point format * Octuple-precision floating-point format Of these, octuple-precision format is rarely used.[src] The names refer to the size of a computer word, commonly 32-bits on many current computer architectures.[src] A single-precision value occupies one word, a half-precision half of a word, double-precision two words, etc.[src] The single- and double-precision formats are most widely used and supported on nearly all platforms.[src] The use of half-precision format and minifloat formats has been increasing especially in the field of machine learning since many machine learning algorithms are inherently error-tolerant.[src]
In computer science, the precision of a numerical quantity is a measure of the detail in which the quantity is expressed.[src] This is usually measured in bits, but sometimes in decimal digits.[src] It is related to precision in mathematics, which describes the number of digits that are used to express a value.[src] Some of the standardized floating-point precision formats are: Half-precision floating-point format Single-precision floating-point format Double-precision floating-point format Quadruple-precision floating-point format Octuple-precision floating-point format Of these, octuple-precision format is rarely used.[src] The names refer to the size of a computer word, commonly 32-bits on many current computer architectures.[src] A single-precision value occupies one word, a half-precision half of a word, double-precision two words, etc.[src] The single- and double-precision formats are most widely used and supported on nearly all platforms.[src] The use of half-precision format and minifloat formats has been increasing especially in the field of machine learning since many machine learning algorithms are inherently error-tolerant.[src] ==Rounding errors== Precision is often the source of rounding errors in computation.[src] The number of bits used to store a number will often cause some loss of accuracy.[src] An example would be to store "sin(0.1)" in IEEE single-precision floating point standard.[src] The error is then often magnified as subsequent computations are made using the data (although it can also be reduced).[src] ==See also== Approximate computing Arbitrary-precision arithmetic Extended precision Granularity IEEE754 (IEEE floating point standard) Integer (computer science) Minifloat (8-bit and less) Significant figures Truncation ==References==[src]
21 sentences · 21 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Precision (computer science)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/precision-computer-science. Accessed 26 November 2026.
Chicago
"Precision (computer science)." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/precision-computer-science.
APA
encyclopegia.org. (2025). Precision (computer science). Retrieved November 26, 2026, from https://encyclopegia.org/wiki/precision-computer-science
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON