1. [6 points.] Consider the double-precision numbers in the IEEE-standard for binary floating-point arithmetic, that...

90.2K

Verified Solution

Question

Accounting

image

1. [6 points.] Consider the double-precision numbers in the IEEE-standard for binary floating-point arithmetic, that is, use values p = 53, Emin = -1022, Emaz = 1023 from Table 1 of the standard. (a) What is the largest positive number of this number system? What is the smallest positive normalized number? What is the smallest positive number overall, including de-normalized numbers? What is machine epsilon e? Machine epsilon e is defined as the smallest positive number such that 1.0+ would not round to 1.0 in computer arithmetic. Explain how you obtained your results. (b) Use Matlab to check your results. Use format hex to display the output. Look at its functions eps, realmin, and realmax, and determine if these give the results that you calculated by hand above. 1. [6 points.] Consider the double-precision numbers in the IEEE-standard for binary floating-point arithmetic, that is, use values p = 53, Emin = -1022, Emaz = 1023 from Table 1 of the standard. (a) What is the largest positive number of this number system? What is the smallest positive normalized number? What is the smallest positive number overall, including de-normalized numbers? What is machine epsilon e? Machine epsilon e is defined as the smallest positive number such that 1.0+ would not round to 1.0 in computer arithmetic. Explain how you obtained your results. (b) Use Matlab to check your results. Use format hex to display the output. Look at its functions eps, realmin, and realmax, and determine if these give the results that you calculated by hand above

Answer & Explanation Solved by verified expert
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students