floating-point 373

  1. Is floating point math broken?
  2. Why doesn't GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?
  3. Why doesn't GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?
  4. Difference between decimal, float and double in .NET?
  5. Parse String to Float or Int
  6. Why does changing 0.1f to 0 slow down performance by 10x?
  7. How do I check if a string is a number (float)?
  8. Limiting floats to two decimal points
  9. Why not use Double or Float to represent currency?
  10. How can I force division to be floating point? Division keeps rounding down to 0
  11. Why does Math.round(0.49999999999999994) return 1?
  12. Is there a float input type in HTML(5)?
  13. Format number to always show 2 decimal places
  14. How to use a decimal range() step value?
  15. What is the most effective way for float and double comparison?
  16. How to deal with floating point number precision in JavaScript?
  17. How to nicely format floating numbers to String without unnecessary decimal 0?
  18. How dangerous is it to compare floating point values?
  19. What does the constant 0.0039215689 represent?
  20. Why does NaN - NaN == 0.0 with the Intel C++ Compiler?
  21. Difference between float and double
  22. Why does changing the sum order returns a different result?
  23. Why are some float < integer comparisons four times slower than others?
  24. Make a float only show two decimal places
  25. How do I print a double value with full precision using cout?
  26. Why can't decimal numbers be represented exactly in binary?
  27. How to convert float to int with Java
  28. How do you round UP a number in Python?
  29. Can anyone explain this strange behavior with signed floats in C#?
  30. When should I use the “strictfp” keyword in java?
  31. When should I use double instead of decimal?
  32. Float vs Decimal in ActiveRecord
  33. round() for float in C++
  34. C++ random float number generation
  35. How to get a random number between a float range?
  36. What is the rationale for all comparisons returning false for IEEE754 NaN values?
  37. Why is division in Ruby returning an integer instead of decimal value?
  38. How to convert string into float in JavaScript?
  39. Why are these numbers not equal?
  40. JavaScript displaying a float to 2 decimal places
  41. Add floating point value to android resources/values
  42. Format Float to n decimal places
  43. Double vs. BigDecimal?
  44. A fast method to round a double to a 32-bit int explained
  45. Get decimal portion of a number with JavaScript
  46. Float and double datatype in Java
  47. Rounding Number to 2 Decimal Places in C
  48. How do you round a floating point number in Perl?
  49. Formatting a float to 2 decimal places
  50. Why does the floating-point value of 4*0.1 look nice in Python 3 but 3*0.1 doesn't?