Given a normalized floating point number system (no subnormal numbers) F, defined by hte parameters B=4, p =4 , m=-5 and M=5. How many positive numbers are there in F altogether?
Added by Concepci-N M.
Step 1
Let's think step by step. Show more…
Show all steps
Your feedback will help us improve your experience
Supreeta N and 78 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Supreeta N.
A floating-point number system is characterized by four integers: the base, the precision P, and the lower and upper limits L and U of the exponent range. If the base is 10, what are the smallest values of P and U, and the largest value of L, such that both 2365.27 and 0.0000512 can be represented exactly in a normalized floating-point system? How would your answer change if the system is not normalized, i.e., if gradual underflow is allowed?
Akash M.
Consider a set of floating-point numbers F(B, t, L, U), with the convention that a number in the set takes the form (-1)^n * (a * 10^2 * t) * B^e (Note the location of the decimal point!). The integer exponents take values < 8 and L < e < U. The base-B digits take values 0 <= a <= 8. For n = 2, L = 2, and U = -1, list all of the numbers in the set F(2, 2, -1, 4) in increasing order.
Sri K.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD