Searched refs:precision (Results 1 – 8 of 8) sorted by relevance
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/ |
H A D | Engine.php | 97 protected $precision = -1; variable in phpseclib3\\Math\\BigInteger\\Engines\\Engine 247 return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : ''; 289 $result = $this->precision > 0 ? substr($bits, -$this->precision) : ltrim($bits, '0'); 291 if ($twos_compliment && $this->compare(new static()) > 0 && $this->precision <= 0) { 345 if ($this->precision > 0) { 363 if ($this->precision > 0) { 365 $this->setPrecision($this->precision); 380 if ($this->precision > 0) { 381 $result['precision'] = $this->precision; 409 return $this->precision > 0 ? $result + ['precision' => $this->precision] : $result; [all …]
|
H A D | GMP.php | 126 if ($this->precision > 0) { 127 $bits = substr($bits, -$this->precision); 130 if ($twos_compliment && $this->compare(new static()) > 0 && $this->precision <= 0) { 150 return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : ''; 155 return $this->precision > 0 ? 156 … substr(str_pad($temp, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) : 461 $result->precision = $this->precision;
|
H A D | BCMath.php | 156 return $this->precision > 0 ? 157 … substr(str_pad($value, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) : 474 $result->precision = $this->precision;
|
H A D | PHP.php | 197 return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : ''; 203 return $this->precision > 0 ? 205 substr($result, -(($this->precision + 7) >> 3)), 206 ($this->precision + 7) >> 3, 747 $result->precision = $this->precision;
|
/dokuwiki/vendor/splitbrain/lesserphp/src/Functions/ |
H A D | Math.php | 91 $precision = Asserts::assertNumber($arg[2][1]); 92 return ['number', round($value, $precision), $arg[2][0][2]];
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/ |
H A D | BigInteger.php | 78 private $precision; variable in phpseclib3\\Math\\BigInteger 431 if ($this->precision > 0) { 433 $this->setPrecision($this->precision); 448 if ($this->precision > 0) {
|
/dokuwiki/vendor/phpseclib/phpseclib/ |
H A D | README.md | 15 SSH-2, SFTP, X.509, an arbitrary-precision integer arithmetic library, Ed25519 / Ed449 / Curve25519…
|
/dokuwiki/ |
H A D | composer.lock | 398 …e GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmet…
|