Lines Matching refs:w2
111 const FloatWeightTpl<T> &w2) {
115 volatile T v2 = w2.Value();
120 const FloatWeightTpl<double> &w2) {
121 return operator==<double>(w1, w2);
125 const FloatWeightTpl<float> &w2) {
126 return operator==<float>(w1, w2);
131 const FloatWeightTpl<T> &w2) {
132 return !(w1 == w2);
136 const FloatWeightTpl<double> &w2) {
137 return operator!=<double>(w1, w2);
141 const FloatWeightTpl<float> &w2) {
142 return operator!=<float>(w1, w2);
147 const FloatWeightTpl<T> &w2,
149 return w1.Value() <= w2.Value() + delta && w2.Value() <= w1.Value() + delta;
240 const TropicalWeightTpl<T> &w2) { in Plus() argument
241 if (!w1.Member() || !w2.Member()) in Plus()
243 return w1.Value() < w2.Value() ? w1 : w2; in Plus()
247 const TropicalWeightTpl<float> &w2) { in Plus() argument
248 return Plus<float>(w1, w2); in Plus()
252 const TropicalWeightTpl<double> &w2) { in Plus() argument
253 return Plus<double>(w1, w2); in Plus()
258 const TropicalWeightTpl<T> &w2) { in Times() argument
259 if (!w1.Member() || !w2.Member()) in Times()
261 T f1 = w1.Value(), f2 = w2.Value(); in Times()
265 return w2; in Times()
271 const TropicalWeightTpl<float> &w2) { in Times() argument
272 return Times<float>(w1, w2); in Times()
276 const TropicalWeightTpl<double> &w2) { in Times() argument
277 return Times<double>(w1, w2); in Times()
282 const TropicalWeightTpl<T> &w2,
284 if (!w1.Member() || !w2.Member())
286 T f1 = w1.Value(), f2 = w2.Value();
296 const TropicalWeightTpl<float> &w2,
298 return Divide<float>(w1, w2, typ);
302 const TropicalWeightTpl<double> &w2,
304 return Divide<double>(w1, w2, typ);
369 const LogWeightTpl<T> &w2) { in Plus() argument
370 T f1 = w1.Value(), f2 = w2.Value(); in Plus()
372 return w2; in Plus()
382 const LogWeightTpl<float> &w2) { in Plus() argument
383 return Plus<float>(w1, w2); in Plus()
387 const LogWeightTpl<double> &w2) { in Plus() argument
388 return Plus<double>(w1, w2); in Plus()
393 const LogWeightTpl<T> &w2) { in Times() argument
394 if (!w1.Member() || !w2.Member()) in Times()
396 T f1 = w1.Value(), f2 = w2.Value(); in Times()
400 return w2; in Times()
406 const LogWeightTpl<float> &w2) { in Times() argument
407 return Times<float>(w1, w2); in Times()
411 const LogWeightTpl<double> &w2) { in Times() argument
412 return Times<double>(w1, w2); in Times()
417 const LogWeightTpl<T> &w2,
419 if (!w1.Member() || !w2.Member())
421 T f1 = w1.Value(), f2 = w2.Value();
431 const LogWeightTpl<float> &w2,
433 return Divide<float>(w1, w2, typ);
437 const LogWeightTpl<double> &w2,
439 return Divide<double>(w1, w2, typ);
501 const MinMaxWeightTpl<T> &w1, const MinMaxWeightTpl<T> &w2) { in Plus() argument
502 if (!w1.Member() || !w2.Member()) in Plus()
504 return w1.Value() < w2.Value() ? w1 : w2; in Plus()
508 const MinMaxWeightTpl<float> &w1, const MinMaxWeightTpl<float> &w2) { in Plus() argument
509 return Plus<float>(w1, w2); in Plus()
513 const MinMaxWeightTpl<double> &w1, const MinMaxWeightTpl<double> &w2) { in Plus() argument
514 return Plus<double>(w1, w2); in Plus()
520 const MinMaxWeightTpl<T> &w1, const MinMaxWeightTpl<T> &w2) { in Times() argument
521 if (!w1.Member() || !w2.Member()) in Times()
523 return w1.Value() >= w2.Value() ? w1 : w2; in Times()
527 const MinMaxWeightTpl<float> &w1, const MinMaxWeightTpl<float> &w2) { in Times() argument
528 return Times<float>(w1, w2); in Times()
532 const MinMaxWeightTpl<double> &w1, const MinMaxWeightTpl<double> &w2) { in Times() argument
533 return Times<double>(w1, w2); in Times()
539 const MinMaxWeightTpl<T> &w2,
541 if (!w1.Member() || !w2.Member())
544 return w1.Value() >= w2.Value() ? w1 : FloatLimits<T>::kNumberBad;
548 const MinMaxWeightTpl<float> &w2,
550 return Divide<float>(w1, w2, typ);
554 const MinMaxWeightTpl<double> &w2,
556 return Divide<double>(w1, w2, typ);