About 12,300,000 results
Open links in new tab
  1. c++ - double and accuracy - Stack Overflow

    Jun 19, 2012 · A double which is usually implemented with IEEE 754 will be accurate to between 15 and 17 decimal digits. Anything past that can't be trusted, even if you can make the …

  2. java - Cast Double to Integer - Stack Overflow

    494 A Double is not an Integer, so the cast won't work. Note the difference between the Double class and the double primitive. Also note that a Double is a Number, so it has the method …

  3. 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)

  4. java - add values to double [] arraylist - Stack Overflow

    1 Create the double[] first, add the numbers to it, and add that array to the List. (The variable should likely be declared as a List, btw, not an ArrayList, unless you're specifically passing it to …

  5. 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: …

  6. What exactly does Double mean in java? - Stack Overflow

    Jun 12, 2011 · A Double in Java is the class version of the double basic type - you can use doubles but, if you want to do something with them that requires them to be an object (such as …

  7. What does the !! (double exclamation mark) operator do in …

    The double "not" in this case is quite simple. It is simply two not s back to back. The first one simply "inverts" the truthy or falsy value, resulting in an actual Boolean type, and then the …

  8. 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 × …

  9. 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?

  10. stl - C++ Double Address Operator? (&&) - Stack Overflow

    C++ Double Address Operator? (&&) [duplicate] Asked 14 years, 10 months ago Modified 1 year, 2 months ago Viewed 230k times