00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00024 #ifndef SHINSTRUCTIONS_HPP
00025 #define SHINSTRUCTIONS_HPP
00026
00027 #include "ShDllExport.hpp"
00028 #include "ShVariable.hpp"
00029
00030 namespace SH {
00031
00039 SH_DLLEXPORT
00040 void shASN(ShVariable& dest, const ShVariable& src);
00041
00042 SH_DLLEXPORT
00043 void shADD(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00044 SH_DLLEXPORT
00045 void shMUL(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00046 SH_DLLEXPORT
00047 void shDIV(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00048
00049 SH_DLLEXPORT
00050 void shSLT(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00051 SH_DLLEXPORT
00052 void shSLE(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00053 SH_DLLEXPORT
00054 void shSGT(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00055 SH_DLLEXPORT
00056 void shSGE(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00057 SH_DLLEXPORT
00058 void shSEQ(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00059 SH_DLLEXPORT
00060 void shSNE(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00061
00062 SH_DLLEXPORT
00063 void shABS(ShVariable& dest, const ShVariable& a);
00064 SH_DLLEXPORT
00065 void shACOS(ShVariable& dest, const ShVariable& a);
00066 SH_DLLEXPORT
00067 void shASIN(ShVariable& dest, const ShVariable& a);
00068 SH_DLLEXPORT
00069 void shATAN(ShVariable& dest, const ShVariable& a);
00070 SH_DLLEXPORT
00071 void shATAN2(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00072 SH_DLLEXPORT
00073 void shCBRT(ShVariable& dest, const ShVariable& a);
00074 SH_DLLEXPORT
00075 void shCEIL(ShVariable& dest, const ShVariable& a);
00076 SH_DLLEXPORT
00077 void shCOS(ShVariable& dest, const ShVariable& a);
00078 SH_DLLEXPORT
00079 void shCMUL(ShVariable& dest, const ShVariable& a);
00080 SH_DLLEXPORT
00081 void shCSUM(ShVariable& dest, const ShVariable& a);
00082 SH_DLLEXPORT
00083 void shDOT(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00084 SH_DLLEXPORT
00085 void shDX(ShVariable& dest, const ShVariable& a);
00086 SH_DLLEXPORT
00087 void shDY(ShVariable& dest, const ShVariable& a);
00088 SH_DLLEXPORT
00089 void shEXP(ShVariable& dest, const ShVariable& a);
00090 SH_DLLEXPORT
00091 void shEXP2(ShVariable& dest, const ShVariable& a);
00092 SH_DLLEXPORT
00093 void shEXP10(ShVariable& dest, const ShVariable& a);
00094 SH_DLLEXPORT
00095 void shFLR(ShVariable& dest, const ShVariable& a);
00096 SH_DLLEXPORT
00097 void shFRAC(ShVariable& dest, const ShVariable& a);
00098 SH_DLLEXPORT
00099 void shLIT(ShVariable& dest, const ShVariable& a);
00100 SH_DLLEXPORT
00101 void shLOG(ShVariable& dest, const ShVariable& a);
00102 SH_DLLEXPORT
00103 void shLOG2(ShVariable& dest, const ShVariable& a);
00104 SH_DLLEXPORT
00105 void shLOG10(ShVariable& dest, const ShVariable& a);
00106 SH_DLLEXPORT
00107 void shLRP(ShVariable& dest, const ShVariable& alpha,
00108 const ShVariable& a, const ShVariable& b);
00109 SH_DLLEXPORT
00110 void shMAD(ShVariable& dest, const ShVariable& a,
00111 const ShVariable& b, const ShVariable& c);
00112 SH_DLLEXPORT
00113 void shMAX(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00114 SH_DLLEXPORT
00115 void shMIN(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00116 SH_DLLEXPORT
00117 void shMOD(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00118 SH_DLLEXPORT
00119 void shPOW(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00120 SH_DLLEXPORT
00121 void shRCP(ShVariable& dest, const ShVariable& a);
00122 SH_DLLEXPORT
00123 void shRND(ShVariable& dest, const ShVariable& a);
00124 SH_DLLEXPORT
00125 void shRSQ(ShVariable& dest, const ShVariable& a);
00126 SH_DLLEXPORT
00127 void shSGN(ShVariable& dest, const ShVariable& a);
00128 SH_DLLEXPORT
00129 void shSIN(ShVariable& dest, const ShVariable& a);
00130 SH_DLLEXPORT
00131 void shSQRT(ShVariable& dest, const ShVariable& a);
00132 SH_DLLEXPORT
00133 void shTAN(ShVariable& dest, const ShVariable& a);
00134
00135 SH_DLLEXPORT
00136 void shNORM(ShVariable& dest, const ShVariable& a);
00137 SH_DLLEXPORT
00138 void shXPD(ShVariable& dest, const ShVariable& a, const ShVariable& b);
00139
00140 SH_DLLEXPORT
00141 void shCOND(ShVariable& dest, const ShVariable& cond,
00142 const ShVariable& a, const ShVariable& b);
00143 SH_DLLEXPORT
00144 void shKIL(const ShVariable& cond);
00145 SH_DLLEXPORT
00146 void shRET(const ShVariable& cond);
00147
00150 }
00151
00152 #endif