Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Precision (computer science)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{More citations needed|date=March 2007}} In [[computer science]], the '''precision''' of a numerical quantity is a measure of the detail in which the quantity is expressed. This is usually measured in bits, but sometimes in decimal digits. It is related to [[precision (arithmetic)|precision in mathematics]], which describes the number of digits that are used to express a value. Some of the standardized 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. The single- and double-precision formats are most widely used and supported on nearly all platforms. 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. ==Rounding errors== {{Further|Floating-point arithmetic}} Precision is often the source of [[rounding error]]s in [[computation]]. The number of bits used to store a number will often cause some loss of accuracy. An example would be to store "sin(0.1)" in IEEE single-precision floating point standard. The error is then often magnified as subsequent computations are made using the data (although it can also be reduced). ==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== {{Reflist|60em}} [[Category:Approximations]] [[Category:Computer data]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Further
(
edit
)
Template:More citations needed
(
edit
)
Template:Reflist
(
edit
)