added equal_to_t to double