acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
_constant.h
1
// Created by camilo on 2023-06-19 00:11 <3ThomasBorregaardSorensen!!
2
// π from _mathematics.h Created by camilo on 2021-10-08 11:18 BRT <3ThomasBorregaardSorensen!!
3
#pragma once
4
5
6
// MATH_PI
7
8
9
//constexpr auto π = 3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679;
10
11
12
static
constexpr ::f128 πl =
13
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273724587l;
14
15
16
static
constexpr ::f64 π =
17
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273724587;
18
19
20
static
constexpr ::f32 πf =
21
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273724587f;
22
23
24
static
constexpr ::f128 _2πl = 2.0l * πl;
25
26
static
constexpr ::f64 _2π = 2.0 * π;
27
28
static
constexpr ::f64 _2πf = 2.0f * πf;
29
30
31
//#define DOUBLE_PI 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844
32
prototype
mathematics
_constant.h
Generated by
1.17.0