diff options
author | Jean-Baptiste Boric <jblbeurope@gmail.com> | 2021-04-25 21:10:55 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-27 23:06:16 +0200 |
commit | 7d84f09e7e1943813242c7d8ee0e60b46697ec60 (patch) | |
tree | c9d02f7a4ba35557cd110019b15881040e2d07cd /AK | |
parent | 9aa44fa36c1aab95168ec2b982ac394ef13acfa3 (diff) | |
download | serenity-7d84f09e7e1943813242c7d8ee0e60b46697ec60.zip |
Userland: Move non-standard math constants from math.h
Diffstat (limited to 'AK')
-rw-r--r-- | AK/ExtraMathConstants.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 |