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

    Mar 5, 2010 · 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 seem …

  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 should really …

  3. 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 example in decimal …

  4. 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 of which can be

  5. Difference between numeric, float and decimal in SQL Server

    Jun 29, 2009 · What are the differences between numeric, float and decimal datatypes and which should be used in which situations? For any kind of financial transaction (e.g. for salary field), which one is …

  6. 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 before/after the decimal point. …

  7. maximum value for type float in c# - Stack Overflow

    The float.h library includes the maximum values for float and others in c. FLOAT_MAX is equal to 340282346638528859811704183484516925440, that is the maximum value that float can store.

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

  9. 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 precision as a float.

  10. what's the largest number float type can hold? - Stack Overflow

    Feb 14, 2020 · I'm new to programming and have recently come up with this simple question . float type has 32 bits in which 8 bits are for the whole number part (the mantissa). so my question is can float …