FAST.Framework  1.0.0
FMath.h
1 /******************************************************************************
2 **
3 ** FAST.Framework
4 **
5 ** Created: 2023-10-11
6 ** Author: Boris Fast
7 ** Mail: support@fast-framework.com
8 **
9 ******************************************************************************/
10 
11 #ifndef FMATHE_H
12 #define FMATHE_H
13 
14 using namespace std;
15 
16 #include "FDataTypes.h"
17 
21 class FMath
22 {
23  public:
24  FMath(const FMath&) = delete;
25  FMath(FMath&&) = delete;
26  FMath() = delete;
27  FMath& operator=(const FMath&) = delete;
28 
29  static constexpr Double E = 2.7182818284590451;
30  static constexpr Double PI = 3.1415926535897931;
31 
32  static Double Sin(Double x);
33  static Double Cos(Double x);
34  static Double Tan(Double x);
35  static Double Cot(Double x);
36 
37  static Double ASin(Double x);
38  static Double ACos(Double x);
39  static Double ATan(Double x);
40  static Double ACot(Double x);
41 
42  static Double SinH(Double x);
43  static Double CosH(Double x);
44  static Double TanH(Double x);
45  static Double CotH(Double x);
46 
47  static Double Exp(Double x);
48  static Double Log(Double x);
49  static Double Log10(Double x);
50  static Double Pow(Double x, Double y);
51  static Double Sqrt(Double x);
52 
53  static Double Ceil(Double x);
54  static Double Floor(Double x);
55  static Double Fabs(Double x);
56 
57  static Double LdExp(Double x, Int y);
58  static Double FrExp(Double x, Int* y);
59  static Double ModF(Double x, Double* y);
60  static Double FMod(Double x, Double y);
61 
62  static Double Round(Double x, UInt digits);
63 
64  private:
65 };
66 
67 #endif // FMATHE_H
Definition: FMath.h:22
FMath()=delete
Delete standard constructor.
FMath(FMath &&)=delete
Delete standard constructor.
FMath & operator=(const FMath &)=delete
Delete copy operator.
FMath(const FMath &)=delete
Delete standard constructor.