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

    Mar 5, 2010 · With type float, on the other hand, alarming-looking issues with roundoff crop up all the time. And the thing that's not necessarily different between type float and double is …

  2. How to correctly and standardly compare floats? - Stack Overflow

    Note that float can approximately represent the latter and still smaller values - it's just about 7 decimals of precision after the first nonzero digit! If you're going to use a fixed epsilon, you …

  3. integer - What exactly is a float? - Stack Overflow

    Apr 11, 2011 · 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 …

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

    Jul 2, 2009 · 1 The main difference between float and double is precision. Wikipedia has more info about Single precision (float) and Double precision.

  5. Ranges of floating point datatype in C? - Stack Overflow

    Apr 11, 2012 · float has 24 significant binary digits - which depending on the number represented translates to 6-8 decimal digits of precision. double has 53 significant binary digits, which is …

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

    Feb 6, 2018 · Float's precision allows it to store a value of up to 9 digits (7 real digits, +2 from decimal to binary conversion) Double, like the name suggests can store twice as much …

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

    Sep 21, 2011 · How to use % operator for float values in c Asked 13 years, 10 months ago Modified 7 years, 8 months ago Viewed 72k times

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

  9. What is the inclusive range of float and double in Java?

    Nov 5, 2013 · What is the inclusive range of float and double in Java? Why are you not recommended to use float or double for anything where precision is critical?

  10. java - What is the difference between the float and integer data …

    Jan 26, 2011 · float stores floating-point values, that is, values that have potential decimal places int only stores integral values, that is, whole numbers So while both are 32 bits wide, their use …