added equal(float*, float, size, tolerance)