Searched refs:twos_compliment (Results 1 – 5 of 5) sorted by relevance
213 * @param bool $twos_compliment216 public function toBytes($twos_compliment = false) argument218 return $this->value->toBytes($twos_compliment);224 * @param bool $twos_compliment227 public function toHex($twos_compliment = false) argument229 return $this->value->toHex($twos_compliment);238 * @param bool $twos_compliment241 public function toBits($twos_compliment = false) argument243 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) {
134 * @param bool $twos_compliment137 public function toBytes($twos_compliment = false) argument139 if ($twos_compliment) {
187 * @param bool $twos_compliment190 public function toBytes($twos_compliment = false) argument192 if ($twos_compliment) {