cmath for nextafter