Home | History | Annotate | Download | only in lib

Lines Matching refs:w2

68 inline bool operator==(const FloatWeight &w1, const FloatWeight &w2) {
72 volatile float v2 = w2.Value();
76 inline bool operator!=(const FloatWeight &w1, const FloatWeight &w2) {
77 return !(w1 == w2);
80 inline bool ApproxEqual(const FloatWeight &w1, const FloatWeight &w2,
82 return w1.Value() <= w2.Value() + delta && w2.Value() <= w1.Value() + delta;
153 const TropicalWeight &w2) {
154 return w1.Value() < w2.Value() ? w1 : w2;
158 const TropicalWeight &w2) {
159 float f1 = w1.Value(), f2 = w2.Value();
163 return w2;
169 const TropicalWeight &w2,
171 float f1 = w1.Value(), f2 = w2.Value();
219 inline LogWeight Plus(const LogWeight &w1, const LogWeight &w2) {
220 float f1 = w1.Value(), f2 = w2.Value();
222 return w2;
231 inline LogWeight Times(const LogWeight &w1, const LogWeight &w2) {
232 float f1 = w1.Value(), f2 = w2.Value();
236 return w2;
242 const LogWeight &w2,
244 float f1 = w1.Value(), f2 = w2.Value();