Lugdunum  0.1.0
Constant.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <limits>
4 
5 namespace lug {
6 namespace Math {
7 
8 // TODO: Add pi, etc
9 
10 template <typename T>
11 T epsilon();
12 
13 template <typename T>
14 T pi();
15 
16 template <typename T>
17 T twoPi();
18 
19 template <typename T>
20 T rootPi();
21 
22 template <typename T>
23 T halfPi();
24 
25 template <typename T>
26 T threeOverTwoPi();
27 
28 template <typename T>
29 T quarterPi();
30 
31 template <typename T>
32 T oneOverPi();
33 
34 template <typename T>
35 T oneOverTwoPi();
36 
37 template <typename T>
38 T twoOverPi();
39 
40 template <typename T>
41 T fourOverPi();
42 
43 template <typename T>
44 T twoOverRootPi();
45 
46 template <typename T>
47 T oneOverRootPi();
48 
49 template <typename T>
50 T rootHalfPi();
51 
52 template <typename T>
53 T rootTwoPi();
54 
55 template <typename T>
56 T rootLnFour();
57 
58 template <typename T>
59 T e();
60 
61 template <typename T>
62 T euler();
63 
64 template <typename T>
65 T rootTwo();
66 
67 template <typename T>
68 T rootThree();
69 
70 template <typename T>
71 T rootFive();
72 
73 template <typename T>
74 T lnTwo();
75 
76 template <typename T>
77 T lnTen();
78 
79 template <typename T>
80 T lnLnTwo();
81 
82 template <typename T>
83 T goldenRatio();
84 
85 #include <lug/Math/Constant.inl>
86 
87 } // Math
88 } // lug
T pi()
Definition: Constant.inl:7
T rootTwo()
Definition: Constant.inl:92
T fourOverPi()
Definition: Constant.inl:52
T euler()
Definition: Constant.inl:87
T twoOverRootPi()
Definition: Constant.inl:57
T rootPi()
Definition: Constant.inl:17
T oneOverTwoPi()
Definition: Constant.inl:42
T rootThree()
Definition: Constant.inl:97
T twoOverPi()
Definition: Constant.inl:47
T goldenRatio()
Definition: Constant.inl:122
T oneOverPi()
Definition: Constant.inl:37
T quarterPi()
Definition: Constant.inl:32
T twoPi()
Definition: Constant.inl:12
T oneOverRootPi()
Definition: Constant.inl:62
T threeOverTwoPi()
Definition: Constant.inl:27
T rootLnFour()
Definition: Constant.inl:77
T rootHalfPi()
Definition: Constant.inl:67
T epsilon()
Definition: Constant.inl:2
T halfPi()
Definition: Constant.inl:22
T lnLnTwo()
Definition: Constant.inl:117
T rootTwoPi()
Definition: Constant.inl:72
T rootFive()
Definition: Constant.inl:102