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:
parent
a1f17bd643
commit
5870a1a9a1
7 changed files with 5 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue