Searched refs:twos_compliment (Results 1 – 5 of 5) sorted by last modified time
195 * @param bool $twos_compliment198 public function toBytes($twos_compliment = false) argument200 if ($twos_compliment) {
140 * @param bool $twos_compliment143 public function toBytes($twos_compliment = false) argument145 if ($twos_compliment) {
272 * @param bool $twos_compliment275 public function toHex($twos_compliment = false) argument277 return Hex::encode($this->toBytes($twos_compliment));286 * @param bool $twos_compliment289 public function toBits($twos_compliment = false) argument291 $hex = $this->toBytes($twos_compliment);296 if ($twos_compliment && $this->compare(new static()) > 0 && $this->precision <= 0) {
123 * @param bool $twos_compliment126 public function toBits($twos_compliment = false) argument128 $hex = $this->toHex($twos_compliment);136 if ($twos_compliment && $this->compare(new static()) > 0 && $this->precision <= 0) {146 * @param bool $twos_compliment149 public function toBytes($twos_compliment = false) argument151 if ($twos_compliment) {
216 * @param bool $twos_compliment219 public function toBytes($twos_compliment = false) argument221 return $this->value->toBytes($twos_compliment);227 * @param bool $twos_compliment230 public function toHex($twos_compliment = false) argument232 return $this->value->toHex($twos_compliment);241 * @param bool $twos_compliment244 public function toBits($twos_compliment = false) argument246 return $this->value->toBits($twos_compliment);