Lines Matching refs:delta
663 $delta = 0;
696 if ($m - $n > intdiv(self::MAX_INT - $delta, $h + 1)) {
700 $delta += ($m - $n) * ($h + 1);
704 if ($codePoint < $n && 0 === ++$delta) {
709 $q = $delta;
733 $bias = self::adaptBias($delta, $h + 1, $h === $b);
734 $delta = 0;
739 ++$delta;
749 * @param int $delta
755 private static function adaptBias($delta, $numPoints, $firstTime) argument
758 $delta = $firstTime ? intdiv($delta, self::DAMP) : $delta >> 1;
759 $delta += intdiv($delta, $numPoints);
762 while ($delta > ((self::BASE - self::TMIN) * self::TMAX) >> 1) {
763 $delta = intdiv($delta, self::BASE - self::TMIN);
767 return $k + intdiv((self::BASE - self::TMIN + 1) * $delta, $delta + self::SKEW);