double: Implement specific comparison functions.