Use doubles, not floats for predicates