fixed precision in compare