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

    Dec 31, 2021 · 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 execution speed.

  2. O que é o float em Python? - Stack Overflow em Português

    Jul 14, 2019 · O tipo float é associado ao valor de um objeto armazenado na memória e tem um formato interno específico que é capaz de representar um valor fracionado. Note que em Python as variáveis …

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

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

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

  6. Qual a forma correta de usar os tipos float, double e decimal?

    Jul 10, 2017 · float e double são mais rápidos, eficientes e econômicos do que os BigDecimal s do Java; não posso afirmar muito sobre o Decimal do C#, mas creio que para multiplicação seja muito mais …

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

    Nov 5, 2013 · From Primitives Data Types: float: The float data type is a single-precision 32-bit IEEE 754 floating point. Its range of values is beyond the scope of this discussion, but is specified in section …

  8. How do I check if a string represents a number (float or int)?

    Editor's note: If what you are testing comes from user input, it is still a string even if it represents an int or a float. For converting the input, see How can I read inputs as numbers? For ensuring that the input …

  9. How do I parse a string to a float or int? - Stack Overflow

    Dec 19, 2008 · For the reverse, see Convert integer to string in Python and Converting a float to a string without rounding it. Please instead use How can I read inputs as numbers? to close duplicate …

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