Lines Matching refs:precision

207     var $precision = -1;  variable in phpseclib\\Math\\BigInteger
538 return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : '';
548 if ($this->precision <= 0 && (ord($bytes[0]) & 0x80)) {
558 … return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : '';
569 return $this->precision > 0 ?
570 … substr(str_pad($temp, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) :
574 … return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : '';
590 return $this->precision > 0 ?
591 … substr(str_pad($value, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) :
596 return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : '';
607 return $this->precision > 0 ?
608 …str_pad(substr($result, -(($this->precision + 7) >> 3)), ($this->precision + 7) >> 3, chr(0), STR_…
667 $result = $this->precision > 0 ? substr($bits, -$this->precision) : ltrim($bits, '0');
669 if ($twos_compliment && $this->compare(new static()) > 0 && $this->precision <= 0) {
749 $temp->precision = $this->precision;
797 if ($this->precision > 0) {
816 if ($this->precision > 0) {
818 $this->setPrecision($this->precision);
2782 $this->precision = $bits;
2939 $new_bits = $this->precision - $current_bits;
3042 if ($this->precision > 0) {
3043 $precision = $this->precision;
3054 $precision = 8 * strlen($bits) - 8 + $i;
3055 $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
3059 $shift+= $precision;
3061 $shift%= $precision;
3069 $right = $this->bitwise_rightShift($precision - $shift);
3567 $result->precision = $this->precision;