The nexttoward functions are equivalent to the corresponding nextafter functions, except that the second parameter has type long double and the functions return y converted to the type of the function if x equals y.