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

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

  5. How are floating point numbers stored in memory? - Stack Overflow

    Oct 4, 2011 · The float type matches the IEC 60559 single format. The double type matches the IEC 60559 double format. The long double type matches an IEC 60559 extended format. in C++, use the …

  6. c - What is the difference between float, _Float32, _Float32x, and ...

    Jul 5, 2023 · Are they distinct types, or can they be aliases for float? What is the minimum range and precision of these types? Are they required to be IEEE-754-compliant (or IEC 60559)? Is float …

  7. ¿Qué diferencia entre float y double en C++?

    Feb 10, 2022 · El tamaño en memoria de cada uno de esos tipos es diferente. float ocupa 32 bits mientras que double ocupa 64 bits. Esto afecta a la cantidad de números diferentes que "caben" en …

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

    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 (and …

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

  10. floating point - C: printf a float value - Stack Overflow

    I want to print a float value which has 2 integer digits and 6 decimal digits after the comma. If I just use printf("%f", myFloat) I'm getting a truncated value. I don't know if this always happen...