FUZZ number

Sets a range of validity for value comparisons during tests. This is sometimes necessary when doing floating point computations where slight numerical errors occur because of the mismatch between binary and decimal representations of numbers or because the exact number can't be represented in a finite number of digits. FUZZ sets a range of imprecision or "fuzziness" within which slightly different numbers will be considered to be equal.

The affected tests are >, <, =, <>, >=, <=, memberof , notmemberof, between and notbetween. The default value (if you don't use the command) is 0.0, i.e., no "fuzz".

For example, if FUZZ is set to 0.001, with the command FUZZ 0.001, then if two numbers are compared for equality, they don't have to be exactly equal. They will be considered equal if they match within plus or minus 0.001, inclusive.

Statistics101 does all its computation with Java doubles, which carry as many as 18 significant digits.

The FUZZ command is effective at run-time, so in the rare event that you might need to, you can change the fuzz value during your program's run. Thus, different parts of your program can have different fuzz settings during one run.