Ungefähr 53 Ergebnisse
Links auf neuer Registerkarte öffnen
  1. What is the difference between float and double? - Stack Overflow

    31. Dez. 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 seem to …

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

    9. Mai 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 …

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

    14. Juli 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 …

  4. Is using increment (operator++) on floats bad? - Stack Overflow

    Is it bad to use the increment operator ++ on floats? It compiles but I find it counter-intuitive. In what cases is using ++ on float variable justified and better than += 1.0f? If there are no use...

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

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

  6. java - What is the difference between the float and integer data type ...

    26. Jan. 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 (and …

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

    21. Sept. 2011 · How to use % operator for float values in c Asked 14 years, 3 months ago Modified 8 years, 2 months ago Viewed 74k times

  8. 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 (commons-*)...

  9. What is the point of float('inf') in Python? - Stack Overflow

    14. Dez. 2015 · Just wondering over here, what is the point of having a variable store an infinite value in a program? Is there any actual use and is there any case where it would be preferable to use foo = …

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

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