Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Fmod is a math function to perform a modulus operation on doubles.
std::modf has a different purpose as Fmod: std::modf splits a double into its integer and a fractional part, for example it splits 12.34 into 12 and 0.34
#include <cassert> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.