compare using epsilon and absolute difference