title: Alternative to C++11's std::nextafter and std::nexttoward for C++03?
body: <p>As the title says, the functionality I'm after is provided by C++11's math libraries to find the next floating point value towards a particular value.</p>
  
  <p>Aside from pulling the code out of the std library (which I may have to resort to), any alternatives to do this with C++03 (using GCC 4.4.6)?</p>