Pol  Revision:f37d500
mathmod.h
Go to the documentation of this file.
1 
8 #ifndef BSCRIPT_MATHEMOD_H
9 #define BSCRIPT_MATHEMOD_H
10 
11 #include "../../bscript/execmodl.h"
12 
13 namespace Pol
14 {
15 namespace Bscript
16 {
17 class BObjectImp;
18 class Executor;
19 } // namespace Bscript
20 } // namespace Pol
21 
22 namespace Pol
23 {
24 namespace Module
25 {
26 class MathExecutorModule : public Bscript::TmplExecutorModule<MathExecutorModule>
27 {
28 public:
30 
31  Bscript::BObjectImp* mf_Sin();
32  Bscript::BObjectImp* mf_ASin();
33  Bscript::BObjectImp* mf_Cos();
34  Bscript::BObjectImp* mf_ACos();
35  Bscript::BObjectImp* mf_Tan();
36  Bscript::BObjectImp* mf_ATan();
37 
38  Bscript::BObjectImp* mf_Min();
39  Bscript::BObjectImp* mf_Max();
40  Bscript::BObjectImp* mf_Pow();
41  Bscript::BObjectImp* mf_Sqrt();
42  Bscript::BObjectImp* mf_Root();
43  Bscript::BObjectImp* mf_Abs();
44  Bscript::BObjectImp* mf_Log10();
45  Bscript::BObjectImp* mf_LogE();
46 
47  Bscript::BObjectImp* mf_ConstPi();
48  Bscript::BObjectImp* mf_ConstE();
49 
50  Bscript::BObjectImp* mf_FormatRealToString();
51 
52  Bscript::BObjectImp* mf_RadToDeg();
53  Bscript::BObjectImp* mf_DegToRad();
54 
55  Bscript::BObjectImp* mf_Ceil();
56  Bscript::BObjectImp* mf_Floor();
57 };
58 }
59 }
60 #endif
Definition: berror.cpp:12