From a449a0b9774eb225414e260c1022b30627d43904 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Sun, 24 May 2020 21:03:21 +0300 Subject: [PATCH] LibM: Add M_SQRT2 and M_SQRT1_2 --- Libraries/LibM/math.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Libraries/LibM/math.h b/Libraries/LibM/math.h index f25cbb99ec..767ec33649 100644 --- a/Libraries/LibM/math.h +++ b/Libraries/LibM/math.h @@ -37,6 +37,8 @@ __BEGIN_DECLS #define M_TAU (M_PI * 2) #define M_LN2 0.69314718055995 #define M_LN10 2.30258509299405 +#define M_SQRT2 1.4142135623730951 +#define M_SQRT1_2 0.7071067811865475 double acos(double); float acosf(float);