About 14,100,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. integer - What exactly is a float? - Stack Overflow

    May 9, 2012 · This is the reason why we call them "floating point numbers" - we allow the decimal point to "float" depending on how big the number that we want to write is. Let's give an …

  3. floating point - What range of numbers can be ... - Stack Overflow

    For a given precision (for my purposes, the number of accurate decimal places in base 10), what range of numbers can be represented for 16-, 32- and 64-bit IEEE-754 systems?

  4. How to use % operator for float values in c - Stack Overflow

    How to use % operator for float values in c Asked 14 years, 2 months ago Modified 8 years ago Viewed 74k times

  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. comparing float/double values using == operator - Stack Overflow

    The code review tool I use complains with the below when I start comparing two float values using equality operator. What is the correct way and how to do it? Is there a helper function …

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

    Single precision (float) gives you 23 bits of significand, 8 bits of exponent, and 1 sign bit. Double precision (double) gives you 52 bits of significand, 11 bits of exponent, and 1 sign bit.

  8. How many digits can float8, float16, float32, float64, and float128 ...

    Jun 9, 2019 · Numpy's dtype documentation only shows "x bits exponent, y bits mantissa" for each float type, but I couldn't translate that to exactly how many digits …

  9. Why are floating point numbers inaccurate? - Stack Overflow

    Why do some numbers lose accuracy when stored as floating point numbers? For example, the decimal number 9.2 can be expressed exactly as a ratio of two decimal integers (92/10), both …

  10. Why dividing two integers doesn't get a float? [duplicate]

    The variables b, c, d are of float type. But the / operator sees two integers it has to divide and hence returns an integer in the result which gets implicitly converted to a float by the addition …