C version no nextafter