mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
AK: Remove rarely used ExtraMathConstants.h
This commit is contained in:
parent
a1f17bd643
commit
5870a1a9a1
Notes:
sideshowbarker
2024-07-17 07:38:17 +09:00
Author: https://github.com/bplaat
Commit: 5870a1a9a1
Pull-request: https://github.com/SerenityOS/serenity/pull/21509
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