1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:54:58 +00:00

AK: Remove rarely used ExtraMathConstants.h

This commit is contained in:
Bastiaan van der Plaat 2023-10-20 12:06:26 +02:00 committed by Sam Atkins
parent a1f17bd643
commit 5870a1a9a1
7 changed files with 5 additions and 22 deletions

View file

@ -8,7 +8,6 @@
*/
#include <AK/BuiltinWrappers.h>
#include <AK/ExtraMathConstants.h>
#include <AK/FloatingPoint.h>
#if !ARCH(AARCH64)
# include <AK/FPControl.h>
@ -569,7 +568,7 @@ float ldexpf(float x, int exp) NOEXCEPT
[[maybe_unused]] static long double ampsin(long double angle) NOEXCEPT
{
long double looped_angle = fmodl(M_PI + angle, M_TAU) - M_PI;
long double looped_angle = fmodl(M_PI + angle, M_PI * 2) - M_PI;
long double looped_angle_squared = looped_angle * looped_angle;
long double quadratic_term;