About 25,700,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 other does not …

  2. c - 'float' vs. 'double' precision - Stack Overflow

    The 53 bits of double s give about 16 digits of precision. The 24 bits of float s give about 7 digits of precision.

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

    L Specifies that a following a, A, e, E, f, F, g, or G conversion specifier applies to a long double argument. The same rules specified for fprintf apply for printf, sprintf and similar functions.

  4. c++ - Double overflow? - Stack Overflow

    Jan 5, 2017 · double overflows by loosing precision, not by starting from 0 (as it works with unsigned integers) d1 So, when you add 1.0 to very big value (18446744073709551615), you're not getting 0 …

  5. Difference between decimal, float and double in .NET?

    Mar 6, 2009 · What is the difference between decimal, float and double in .NET? When would someone use one of these?

  6. 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 parameters …

  7. How do I use bitwise operators on a "double" on C++?

    Now by accessing elements c[0] through c[sizeof(double) - 1] you will see the internal representation of type double. You can use bitwise operations on these unsigned char values, if you want to. Note, …

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

  9. What are the actual min/max values for float and double (C++)

    Feb 6, 2018 · For double, this is 2 1024 −2 971, approximately 1.79769•10 308. std::numeric_limits<T>::min() is the smallest positive normal value. Floating-point formats often have …

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

    May 8, 2015 · double[] getDoubles(int columnIndex) { return (double[]) data[columnIndex]; } But - Java doesn't allow Object[] to be cast to double[]. Casting it to Double[] is ok because Double is an object …