About 53 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

    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 …

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

  4. Difference between (float *) & *(float*) in C - Stack Overflow

    Jun 4, 2015 · casting to float * here is not meaningful, because the void * address is the same as the float * address and also the int * address, the difference would be when you do pointer …

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

  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 …

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

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

    For a given IEEE-754 floating point number X, if 2^E <= abs(X) < 2^(E+1) then the distance from X to the next largest representable floating point number (epsilon) is: epsilon = 2^(E-52) % For …

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

  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 …