User Tools

Site Tools


math_library

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
math_library [2022/04/29 23:35]
max [The combined method]
math_library [2022/04/29 23:39]
max [Float comparison]
Line 15: Line 15:
  
 Floating-point numbers are almost always stored inaccurately in computers' memory. This is because of the [[https://en.wikipedia.org/wiki/IEEE_754|IEEE-754]] standard that is used to store the number. Floating-point numbers are almost always stored inaccurately in computers' memory. This is because of the [[https://en.wikipedia.org/wiki/IEEE_754|IEEE-754]] standard that is used to store the number.
 +
 +To learn which methods Impulse Physics offers to compare floating-point numbers, visit [[floating point comparison]].
  
 It also means that for example, 0.2 + 0.1 is not equal to 0.3; rather it is equal to 0.30000000000000004. It also means that for example, 0.2 + 0.1 is not equal to 0.3; rather it is equal to 0.30000000000000004.
math_library.txt ยท Last modified: 2022/05/01 18:38 by max