From 7d84f09e7e1943813242c7d8ee0e60b46697ec60 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Boric Date: Sun, 25 Apr 2021 21:10:55 +0200 Subject: Userland: Move non-standard math constants from math.h --- AK/ExtraMathConstants.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 AK/ExtraMathConstants.h (limited to 'AK') diff --git a/AK/ExtraMathConstants.h b/AK/ExtraMathConstants.h new file mode 100644 index 0000000000..907306f45c --- /dev/null +++ b/AK/ExtraMathConstants.h @@ -0,0 +1,11 @@ +/* + * Copyright (c) 2021, the SerenityOS developers. + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +#pragma once + +#define M_TAU 6.28318530717958647692 +#define M_DEG2RAD 0.01745329251994329576 +#define M_RAD2DEG 57.2957795130823208767 -- cgit v1.2.3