EmergReanimator
EmergReanimator
The following unit tests are failing with current `gcem::atan2` implementation but `std::atan2` pass: https://github.com/kthohr/gcem/blob/master/include/gcem_incl/atan2.hpp 1. Inifities - EXPECT_NEAR(math::atan2f(-0.0, neg_infinity), -M_PI, EPSILON); - EXPECT_NEAR(math::atan2f(infinity, infinity), M_PI / 4.0, EPSILON); - EXPECT_NEAR(math::atan2f(neg_infinity,...
Here is AI-generated version of atan2_compute that passes the unit tests. ```c++ template constexpr T atan2_compute(const T y, const T x) noexcept { return any_nan(y, x) ? GCLIM::quiet_NaN() : is_inf(y)...