Home
last modified time | relevance | path

Searched refs:twos_compliment (Results 1 – 1 of 1) sorted by path

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php528 * @param bool $twos_compliment
533 function toBytes($twos_compliment = false) argument
535 if ($twos_compliment) {
627 * @param bool $twos_compliment
632 function toHex($twos_compliment = false) argument
634 return bin2hex($this->toBytes($twos_compliment));
652 * @param bool $twos_compliment
657 function toBits($twos_compliment = false) argument
659 $hex = $this->toHex($twos_compliment);
669 if ($twos_compliment && $this->compare(new static()) > 0 && $this->precision <= 0) {