diff --git a/Libraries/LibM/math.h b/Libraries/LibM/math.h index 2783f1af59..571f11f01f 100644 --- a/Libraries/LibM/math.h +++ b/Libraries/LibM/math.h @@ -35,8 +35,10 @@ __BEGIN_DECLS #define NAN __builtin_nan("") #define M_E 2.718281828459045 #define M_PI 3.141592653589793 -#define M_PI_2 (M_PI / 2) -#define M_TAU (M_PI * 2) +#define M_PI_2 1.570796326794896 +#define M_TAU 6.283185307179586 +#define M_DEG2RAD 0.017453292519943 +#define M_RAD2DEG 57.29577951308232 #define M_LN2 0.69314718055995 #define M_LN10 2.30258509299405 #define M_SQRT2 1.4142135623730951