约 9,630,000 个结果
在新选项卡中打开链接
  1. What is the difference between float and double? - Stack Overflow

    2010年3月5日 · 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 …

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

    2019年7月14日 · 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 …

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

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

    2012年5月9日 · 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 …

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

    2017年7月10日 · 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 …

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

    2011年10月4日 · 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. …

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

    How to use % operator for float values in c Asked 13 years, 11 months ago Modified 7 years, 10 months ago Viewed 73k times

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

    2023年7月5日 · Usually, float and double are binary32 and binary64 types respectively, and long double is binary128, an x87 80-bit extended floating-point number, or represented same as …

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

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

    2015年12月14日 · 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 …