mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +00:00
LibM: Add M_SQRT2 and M_SQRT1_2
This commit is contained in:
parent
99991761fd
commit
a449a0b977
Notes:
sideshowbarker
2024-07-19 06:10:57 +09:00
Author: https://github.com/bugaevc
Commit: a449a0b977
Pull-request: https://github.com/SerenityOS/serenity/pull/2362
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ __BEGIN_DECLS
|
||||||
#define M_TAU (M_PI * 2)
|
#define M_TAU (M_PI * 2)
|
||||||
#define M_LN2 0.69314718055995
|
#define M_LN2 0.69314718055995
|
||||||
#define M_LN10 2.30258509299405
|
#define M_LN10 2.30258509299405
|
||||||
|
#define M_SQRT2 1.4142135623730951
|
||||||
|
#define M_SQRT1_2 0.7071067811865475
|
||||||
|
|
||||||
double acos(double);
|
double acos(double);
|
||||||
float acosf(float);
|
float acosf(float);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue