chore: use iwyu on numerical_methods/**.cpp

This commit is contained in:
realstealthninja
2024-09-13 15:39:02 +05:30
parent c47117ca3f
commit eff2f44a50
12 changed files with 72 additions and 61 deletions

View File

@@ -12,11 +12,12 @@
* \author [Krishna Vedala](https://github.com/kvedala)
* \see bisection_method.cpp, false_position.cpp
*/
#include <cmath>
#include <cstdint> /// for integral typedefs
#include <ctime>
#include <iostream>
#include <limits>
#include <bits/std_abs.h> // for abs
#include <cmath> // for pow, NAN
#include <cstdint> // for INT16_MAX, int16_t
#include <ctime> // for time
#include <iostream> // for char_traits, basic_ostream, operator<<
#include <cstdlib> // for rand, srand
constexpr double EPSILON = 1e-10; ///< system accuracy limit
constexpr int16_t MAX_ITERATIONS = INT16_MAX; ///< Maximum number of iterations