Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started