About 21,900,000 results
Open links in new tab
  1. What is the difference between float and double? - Stack Overflow

    Dec 31, 2021 · I've read about the difference between double precision and single precision. However, in most cases, float and double seem to be interchangeable, i.e. using one or the …

  2. Correct format specifier for double in printf - Stack Overflow

    Format %lf in printf was not supported in old (pre-C99) versions of C language, which created superficial "inconsistency" between format specifiers for double in printf and scanf.

  3. Integer division: How do you produce a double? - Stack Overflow

    double num = 5; That avoids a cast. But you'll find that the cast conversions are well-defined. You don't have to guess, just check the JLS. int to double is a widening conversion. From §5.1.2: …

  4. Difference between long double and double in C and C++

    Apr 22, 2015 · Possible Duplicate: long double vs double I am new to programming and I am unable to understand the difference between between long double and double in C and C++. I …

  5. What is the difference between "Double" and "double" in Java?

    39 This question already has answers here: Double vs double in java [duplicate] (7 answers) Difference between decimal, float and double in .NET? (19 answers)

  6. How do I print a double value with full precision using cout?

    In my earlier question I was printing a double using cout that got rounded when I wasn't expecting it. How can I make cout print a double using full precision?

  7. methods - Double vs double in java - Stack Overflow

    Nov 11, 2012 · Possible Duplicate: Java : different double and Double in comparison In a sample java program for one of my labs, I have two different methods taking Double and double …

  8. Checking if a variable is of data type double - Stack Overflow

    Mar 22, 2012 · 12 How can I realiably check if a variable is a double? You need to be clearer about what you're really trying to do here. I don't think you're asking what you think you're …

  9. Biggest integer that can be stored in a double - Stack Overflow

    Dec 5, 2009 · The biggest/largest integer that can be stored in a double without losing precision is the same as the largest possible value of a double. That is, DBL_MAX or approximately 1.8 × …

  10. c - How do I get DOUBLE_MAX? - Stack Overflow

    AFAIK, C supports just a few data types: int, float, double, char, void enum. I need to store a number that could reach into the high 10 digits. Since I'm getting a low 10 digit # from …