Searched refs:S_INT_MAX (Results 1 – 3 of 3) sorted by relevance
44 static const int TWO_31ST_DIV_255 = S_INT_MAX / 255;46 return (num < TWO_31ST_DIV_255 ? 255 * num : S_INT_MAX); in capped255MultForFullMatchAccentsOrCapitalizationDifference()49 static const int TWO_31ST_DIV_2 = S_INT_MAX / 2;52 if (temp != S_INT_MAX) { in multiplyIntCapped()62 *base = TWO_31ST_DIV_2 >= temp ? temp << 1 : S_INT_MAX; in multiplyIntCapped()68 *base = tempRetval >= temp ? tempRetval : S_INT_MAX; in multiplyIntCapped()76 return n < 31 ? 1 << n : S_INT_MAX; in powerIntCapped()85 if (*freq != S_INT_MAX) { in multiplyRate()
155 #ifndef S_INT_MAX156 #define S_INT_MAX 2147483647 // ((1 << 31) - 1) macro
899 const int divider = diff < 31 ? 1 << diff : S_INT_MAX; in calculateFinalProbability()1138 const float maxScore = score >= S_INT_MAX ? S_INT_MAX : MAX_INITIAL_SCORE in calcNormalizedScore()