Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 9 of 9) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
H A DEngine.php97 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) {
343 if ($this->precision > 0) {
361 if ($this->precision > 0) {
363 $this->setPrecision($this->precision);
379 if ($this->precision > 0) {
380 $result['precision'] = $this->precision;
416 if ($this->precision > 0) {
[all …]
H A DGMP.php126 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)) :
464 $result->precision = $this->precision;
H A DBCMath.php161 return $this->precision > 0 ?
162 … substr(str_pad($value, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) :
478 $result->precision = $this->precision;
H A DPHP.php197 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,
750 $result->precision = $this->precision;
/dokuwiki/vendor/splitbrain/lesserphp/src/Functions/
H A DMath.php91 $precision = Asserts::assertNumber($arg[2][1]);
92 return ['number', round($value, $precision), $arg[2][0][2]];
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php78 private $precision; variable in phpseclib3\\Math\\BigInteger
434 if ($this->precision > 0) {
436 $this->setPrecision($this->precision);
483 if ($this->precision > 0) {
/dokuwiki/vendor/phpseclib/phpseclib/
H A DREADME.md15 SSH-2, SFTP, X.509, an arbitrary-precision integer arithmetic library, Ed25519 / Ed449 / Curve25519…
/dokuwiki/
H A Dcomposer.lock398 …e GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmet…
/dokuwiki/vendor/simplepie/simplepie/
H A DCHANGELOG.md23 - Improve precision of type annotations and increased the PHPStan checks to level 8 (by @jtojnar in…