static public boolean isEqual(float a,float b){
  return Math.abs(a - b) <= FLOAT_ROUNDING_ERROR;
}

static public boolean isEqual ( float a , float b ) { return Math . abs ( a - b ) <= FLOAT_ROUNDING_ERROR ; }
returns true if a is nearly equal to b . the function uses the default floating error tolerance .
