Bureaucrats, ninja, Administrators
67,566
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{DocTabs|Section=3}} | |||
''Originally written by ZeroFrog'' | ''Originally written by ZeroFrog'' | ||
Line 19: | Line 20: | ||
When comparing two floating point numbers a and b, never use <code>a == b</code>. Instead use something along the lines of <code>fabs(a-b)< epsilon</code> where epsilon is some very small number. | When comparing two floating point numbers a and b, never use <code>a == b</code>. Instead use something along the lines of <code>fabs(a-b)< epsilon</code> where epsilon is some very small number. | ||
{{PCSX2 | {{PCSX2 Developers Blog Navbox}} |