Searched refs:twos_compliment (Results 1 – 5 of 5) sorted by relevance
218 * @param bool $twos_compliment221 public function toBytes($twos_compliment = false) argument223 return $this->value->toBytes($twos_compliment);229 * @param bool $twos_compliment232 public function toHex($twos_compliment = false) argument234 return $this->value->toHex($twos_compliment);243 * @param bool $twos_compliment246 public function toBits($twos_compliment = false) argument248 return $this->value->toBits($twos_compliment);
117 * @param bool $twos_compliment120 public function toBits($twos_compliment = false) argument122 $hex = $this->toHex($twos_compliment);130 if ($twos_compliment && $this->compare(new static()) > 0 && $this->precision <= 0) {140 * @param bool $twos_compliment143 public function toBytes($twos_compliment = false) argument145 if ($twos_compliment) {
267 * @param bool $twos_compliment270 public function toHex($twos_compliment = false) argument272 return Strings::bin2hex($this->toBytes($twos_compliment));281 * @param bool $twos_compliment284 public function toBits($twos_compliment = false) argument286 $hex = $this->toBytes($twos_compliment);291 if ($twos_compliment && $this->compare(new static()) > 0 && $this->precision <= 0) {
139 * @param bool $twos_compliment142 public function toBytes($twos_compliment = false) argument144 if ($twos_compliment) {
187 * @param bool $twos_compliment190 public function toBytes($twos_compliment = false) argument192 if ($twos_compliment) {