Given a format: say 12-bit floating point with sign bit, 5 - bit biased exponent and 6- bit significant with implied bit, how do i go about determining the range of values which can be represented. I have tried various times and each time i got a different answer. I'm afraid i'm not quite sure how to approach this problem.

  • 3
    $\begingroup$ Could you edit in your approaches? Maybe we can hint you in the right direction. $\endgroup$ – dtt Oct 22 '16 at 6:40
  • 2
    $\begingroup$ What have you tried? Where did you get stuck? We do not want to just hand you the solution; we want you to gain understanding. However, as it is we do not know what your underlying problem is, so we can not begin to help. See here for tips on asking questions about exercise problems. If you are uncertain how to improve your question, why not ask around in Computer Science Chat? $\endgroup$ – Raphael Oct 22 '16 at 7:58
  • $\begingroup$ You can use google to find an exact description for the 32 and 64 bit formats. For example 32 bit format has an 8-bit biased exponent and a 23 bit significant with implied bit, so you can adapt your answer straight from that. $\endgroup$ – gnasher729 Oct 23 '16 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.