Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

ilianpetrov05

  • 4 years ago

What's the difference between float and double?

  • This Question is Closed
  1. tdabboud
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 4

    double is has more precision than a floating number. float is 4 bytes(32 bits) double is 8 bytes (64 bits)

  2. ilianpetrov05
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    i got it, thanks for the answer! +)

  3. rsmith6559
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Don't count on those bit sizes. The C standard is cagey about the sizes of it's data types. It probably only guarantees that doubles are larger than floats.

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy