Use the new ApproxEq trait in core