Home
last modified time | relevance | path

Searched refs:PosInfinity (Results 1 – 3 of 3) sorted by relevance

/external/openfst/src/include/fst/
Dfloat-weight.h40 static const T PosInfinity() { in PosInfinity() function
46 static const T neg_infinity = -PosInfinity(); in NegInfinity()
157 if (w.Value() == FloatLimits<T>::PosInfinity())
172 w = FloatWeightTpl<T>(FloatLimits<T>::PosInfinity());
202 return TropicalWeightTpl<T>(FloatLimits<T>::PosInfinity()); } in Zero()
223 Value() == FloatLimits<T>::PosInfinity() ||
265 if (f1 == FloatLimits<T>::PosInfinity()) in Times()
267 else if (f2 == FloatLimits<T>::PosInfinity()) in Times()
290 if (f2 == FloatLimits<T>::PosInfinity())
292 else if (f1 == FloatLimits<T>::PosInfinity())
[all …]
Daccumulator.h261 double sum = FloatLimits<double>::PosInfinity();
285 return x == FloatLimits<double>::PosInfinity() ? in LogPosExp()
290 return x == FloatLimits<double>::PosInfinity() ? in LogMinusExp()
305 if (f1 == FloatLimits<double>::PosInfinity()) in LogPlus()
320 if (f2 == FloatLimits<double>::PosInfinity()) in LogMinus()
488 weights_->push_back(FloatLimits<double>::PosInfinity());
527 double x = FloatLimits<double>::PosInfinity(); in LowerBound()
540 return x == FloatLimits<double>::PosInfinity() ? in LogPosExp()
545 return x == FloatLimits<double>::PosInfinity() ? in LogMinusExp()
560 if (f1 == FloatLimits<double>::PosInfinity()) in LogPlus()
[all …]
Dsigned-log-weight.h116 if (f1 == FloatLimits<T>::PosInfinity()) in Plus()
118 else if (f2 == FloatLimits<T>::PosInfinity()) in Plus()
176 if (f2 == FloatLimits<T>::PosInfinity())
179 else if (f1 == FloatLimits<T>::PosInfinity())
181 FloatLimits<T>::PosInfinity());