Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5992713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:34:20+00:00 2026-05-22T23:34:20+00:00

According to what I know on double (IEEE standard) there is one bit for

  • 0

According to what I know on double (IEEE standard) there is one bit for signus, 54 bits for mantissa, a base and some bits for exponent

the formula to get the double is : (−1)^s × c × b^q

Maybe I made some mistake but the idea is here.

I’m just wondering how we can know where to put the radix point with this formula.
If i take number, I get for instance:

m = 3
q = 4
s = 2
b = 2
(-1)^2 * 4 * 2^3 = 32

but I don’t know where to put some radix point..

What is wrong here ?

EDIT:

Maybe q is always negative ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T23:34:20+00:00Added an answer on May 22, 2026 at 11:34 pm

    32 = 1 * 2^5, so mantissa=1, exponent=5, sign=0. We need to add 1023 to exponent when coding the exponent, so below we have 1023+5=1028. Also we need to remove digit 1 when coding mantissa, so that 1.(whatever) becomes (whatever)

    Hexadecimal representation of 32 as 64-bit double is 4040000000000000, or binary:

    0100 0000 0100 0000 0000 ... and zeros all the way down
                   ^======== start of mantissa (coded 0, interpreted 1.0)
     ^===========^---------- exponent (coded 1028, interpreted 5)
    ^----------------------- sign (0)
    

    To verify the result visit this page, enter 32 in first field, and click either Rounded or Not Rounded button (doesn’t matter which one).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have got a std::list< std::pair<std::string,double> > , which I know is sorted according
I know that there are tons of questions like this one, but I couldn't
I know it might not be according to Apple's human interface guidelines for the
You guys know in Pastebin how according to the selected language, the code is
according to this code i dont understand about NSClassFromString how did i know viewControllerName
i know that you could organize your files according to this structure in svn:
I know 'best' is subjective, so according to you, what is the best solution
We all know that you can overload a function according to the parameters: int
According to C++03 Standard (23.1/3) only copy-constructible class objects can be stored in STL
I want to know the first double from 0d upwards that deviates by the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.