Jump to content

Computer arithmetic: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Adding short description: "Implementation of arithmetic operations"
The list is probably incomplete
Line 2: Line 2:
'''Computer arithmetic''' is the scientific field that deals with representation of [[number]]s on [[computer]]s and corresponding implementations of the [[arithmetic operation]]s.
'''Computer arithmetic''' is the scientific field that deals with representation of [[number]]s on [[computer]]s and corresponding implementations of the [[arithmetic operation]]s.


It comprises:
It includes:
*[[Fixed-point arithmetic]]
*[[Fixed-point arithmetic]]
*[[Floating-point arithmetic]]
*[[Floating-point arithmetic]]

Revision as of 09:58, 26 June 2024

Computer arithmetic is the scientific field that deals with representation of numbers on computers and corresponding implementations of the arithmetic operations.

It includes:

In the cases where the size of the representation of a number is fixed (fixed-point, floating-point and interval arithmetic), the main concern is the control the computational error, as far as possible; see, for example IEEE 754.

In the other cases, where an exact result should be provided, the main concern is the practical efficiency, which is optimized by combining improvements of computational complexity with hardware specificities.