About 19,000,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. 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 …

  4. 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 …

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

  6. What's the difference between a single precision and double …

    The term double precision is something of a misnomer because the precision is not really double. The word double derives from the fact that a double-precision number uses twice as many bits …

  7. Should I use double or float? - Stack Overflow

    Jul 2, 2009 · A double has a much higher precision due to it's difference in size. If the numbers you are using will commonly exceed the value of a float, then use a double. Several other …

  8. What's the difference between LONG float and double in C++?

    Promise. But, in C++, when calling scanf and printf, the notation used to specify a double is "%lf", and that stands for long float, right? So while a float is less precise than a double, a LONG …

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

  10. java - How do I convert Double [] to double []? - Stack Overflow

    May 8, 2015 · I'm implementing an interface that has functionality similar to a table that can contain an types of objects. The interface specifies the following function: double[] …