#include <iostream>
#include <cmath>
using namespace std;
int main()
{
cout << "nextafter(0.0, 1.0) = " << nextafter(0.0, 1.0) << endl;
cout << "nextafter(0.0, -1.0) = " << nextafter(0.0, -1.0) << endl;
cout << "nextafter(0.1, 0) = " << nextafter(0.1, 0) << endl;
return 0;
}
/*
run:
nextafter(0.0, 1.0) = 4.94066e-324
nextafter(0.0, -1.0) = -4.94066e-324
nextafter(0.1, 0) = 0.1
*/