Lines Matching refs:lhs

34 ORowSetValue OOp_Abs::operate(const ORowSetValue& lhs) const  in operate()
36 if ( lhs.isNull() ) in operate()
37 return lhs; in operate()
39 double nVal(lhs); in operate()
45 ORowSetValue OOp_Sign::operate(const ORowSetValue& lhs) const in operate()
47 if ( lhs.isNull() ) in operate()
48 return lhs; in operate()
51 double nVal(lhs); in operate()
60 ORowSetValue OOp_Mod::operate(const ORowSetValue& lhs,const ORowSetValue& rhs) const in operate() argument
62 if ( lhs.isNull() || rhs.isNull() ) in operate()
65 return fmod((double)lhs,(double)rhs); in operate()
68 ORowSetValue OOp_Floor::operate(const ORowSetValue& lhs) const in operate()
70 if ( lhs.isNull() ) in operate()
71 return lhs; in operate()
73 return floor((double)lhs); in operate()
76 ORowSetValue OOp_Ceiling::operate(const ORowSetValue& lhs) const in operate()
78 if ( lhs.isNull() ) in operate()
79 return lhs; in operate()
81 double nVal(lhs); in operate()
85 ORowSetValue OOp_Round::operate(const ::std::vector<ORowSetValue>& lhs) const in operate()
87 if ( lhs.empty() || lhs.size() > 2 ) in operate()
90 size_t nSize = lhs.size(); in operate()
91 double nVal = lhs[nSize-1]; in operate()
94 if ( nSize == 2 && !lhs[0].isNull() ) in operate()
95 nDec = lhs[0]; in operate()
99 ORowSetValue OOp_Exp::operate(const ORowSetValue& lhs) const in operate()
101 if ( lhs.isNull() ) in operate()
102 return lhs; in operate()
104 double nVal(lhs); in operate()
108 ORowSetValue OOp_Ln::operate(const ORowSetValue& lhs) const in operate()
110 if ( lhs.isNull() || static_cast<double>(lhs) < 0.0 ) in operate()
111 return lhs; in operate()
113 double nVal(lhs); in operate()
120 ORowSetValue OOp_Log::operate(const ::std::vector<ORowSetValue>& lhs) const in operate()
122 if ( lhs.empty() || lhs.size() > 2 ) in operate()
124 size_t nSize = lhs.size(); in operate()
125 double nVal = log( (double)lhs[nSize-1] ); in operate()
128 if ( nSize == 2 && !lhs[0].isNull() ) in operate()
129 nVal /= log((double)lhs[0]); in operate()
136 ORowSetValue OOp_Log10::operate(const ORowSetValue& lhs) const in operate()
138 if ( lhs.isNull() || static_cast<double>(lhs) < 0.0 ) in operate()
139 return lhs; in operate()
141 double nVal = log((double)lhs); in operate()
148 ORowSetValue OOp_Pow::operate(const ORowSetValue& lhs,const ORowSetValue& rhs) const in operate() argument
150 if ( lhs.isNull() || rhs.isNull() ) in operate()
151 return lhs; in operate()
153 return pow((double)lhs,(double)rhs); in operate()
156 ORowSetValue OOp_Sqrt::operate(const ORowSetValue& lhs) const in operate()
158 if ( lhs.isNull() ) in operate()
159 return lhs; in operate()
161 double nVal = sqrt((double)lhs); in operate()
172 ORowSetValue OOp_Cos::operate(const ORowSetValue& lhs) const in operate()
174 if ( lhs.isNull() ) in operate()
175 return lhs; in operate()
177 return cos((double)lhs); in operate()
180 ORowSetValue OOp_Sin::operate(const ORowSetValue& lhs) const in operate()
182 if ( lhs.isNull() ) in operate()
183 return lhs; in operate()
185 return sin((double)lhs); in operate()
188 ORowSetValue OOp_Tan::operate(const ORowSetValue& lhs) const in operate()
190 if ( lhs.isNull() ) in operate()
191 return lhs; in operate()
193 return tan((double)lhs); in operate()
196 ORowSetValue OOp_ACos::operate(const ORowSetValue& lhs) const in operate()
198 if ( lhs.isNull() ) in operate()
199 return lhs; in operate()
201 return acos((double)lhs); in operate()
204 ORowSetValue OOp_ASin::operate(const ORowSetValue& lhs) const in operate()
206 if ( lhs.isNull() ) in operate()
207 return lhs; in operate()
209 return asin((double)lhs); in operate()
212 ORowSetValue OOp_ATan::operate(const ORowSetValue& lhs) const in operate()
214 if ( lhs.isNull() ) in operate()
215 return lhs; in operate()
217 return atan((double)lhs); in operate()
220 ORowSetValue OOp_ATan2::operate(const ORowSetValue& lhs,const ORowSetValue& rhs) const in operate() argument
222 if ( lhs.isNull() || rhs.isNull() ) in operate()
223 return lhs; in operate()
225 return atan2((double)lhs,(double)rhs); in operate()
228 ORowSetValue OOp_Degrees::operate(const ORowSetValue& lhs) const in operate()
230 if ( lhs.isNull() ) in operate()
231 return lhs; in operate()
233 double nLhs = lhs; in operate()
237 ORowSetValue OOp_Radians::operate(const ORowSetValue& lhs) const in operate()
239 if ( lhs.isNull() ) in operate()
240 return lhs; in operate()
242 double nLhs = lhs; in operate()