Академический Документы
Профессиональный Документы
Культура Документы
Home ▼
W e d n e s d a y, 3 0 S e p t e m b e r 2 0 1 5
Fixed-point numbers are useful for representing fractional values, usually in base 2 or base 10, when
the executing processor has no floating point unit (FPU) or if fixed-point provides improved
performance or accuracy for the application at hand. Most low-cost embedded microprocessors and
microcontrollers do not have an FPU.
1(a)(ii):
Roundoff error occurs because of the computing device's inability to deal with certain numbers. Such
numbers need to be rounded off to some near approximation which is dependent on the word size
used to represent numbers of the device.
1(a)(iii):
Floating-point number representations allow for the existence of two zeros, often denoted by −0
(negative zero) and +0 (positive zero), regarded as equal by the numerical comparison operations but
with possible different behaviors in particular operations.
1(c):
Appox true value is :
3.1415926535897932384626433832795
this is called the level of accuracy or to how many significant digits places
144029661/45846065
69305155/22060516
5419351/1725033
52,163/16,604 = 3.1415923873765357745121657431944
312689/99532
312689/99532
Share
1 comment:
Powered by Blogger.