The ____ data type is used to represent any real number between -3.4E+38 and 3.4E+38.
Added by James M.
Close
Step 1
4E+38 and 3.4E+38 is **double**. Show more…
Show all steps
Your feedback will help us improve your experience
Shelayah Robinson and 55 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
A 36-bit floating-point binary number has eight bits plus sign for the exponent and 26 bits plus sign for the mantissa. The mantissa is a normalized fraction. Numbers in the mantissa and exponent are in signed-magnitude representation. What are the largest and smallest positive quantities that can be represented, excluding zero?
Shelayah R.
One of primary differences between float, double, and decimal is: a. float is used to represent more significant digits. b. double is normally used with large monetary values. c. decimal is not used to display negative values. d. double does not require suffixing a numeric literal with a value such as m or f. e. decimal is primarily used to represent small monetary values that require a $ for formatting.
Represent the following decimal numbers as single precision float. For each, show: - a scientific notation representation - the significand, exponent, and sign bits (32 bits total) - a hexadecimal representation of these 32 bits (a) 145.325 (b) -27.6875 (c) 89.3625
Sri K.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD