chore: use iwyu on math/**.cpp

This commit is contained in:
realstealthninja
2024-09-13 15:38:50 +05:30
parent c3897d3763
commit c47117ca3f
23 changed files with 102 additions and 88 deletions

View File

@@ -8,11 +8,12 @@
* This algorithm is used to calculate shadows in Quake III Arena.
*/
#include <cassert> /// for assert
#include <cmath> /// for `std::sqrt`
#include <cstdint> /// for integral typedefs
#include <iostream> /// for IO operations
#include <limits> /// for numeric_limits
#include <cassert> // for assert
#include <cmath> // for fabs, sqrt
#include <cstdint> // for int32_t, int64_t
#include <iostream> // for basic_ostream, char_traits, operator<<, cout
#include <type_traits> // for conditional
/**
* @brief This is the function that calculates the fast inverse square root.
* The following code is the fast inverse square root implementation from