Discussion
The value 0.5 in Q15 format is stored as the integer
Answer: A
Correct answer: 16384
The integer stored is the fraction multiplied by \( 2^{15} \): \[ 0.5 \times 32768 = 16384. \] Note that \( +1 \) itself cannot be represented, since \( 1.0 \times 32768 = 32768 \) exceeds the range of a signed 16-bit value - which is why the upper bound is just below one.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development