Skip to content

Commit

Permalink
Update ArbitraryInteger.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Beakerboy committed Jul 8, 2019
1 parent 174ebb2 commit a307376
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ArbitraryInteger.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,9 @@ public function leftShift(int $bits)

return $shifted_string;
}

public function equals(ArbitraryInteger $int): bool
{
return $this->base256 == $int->getBinary();
}
}

0 comments on commit a307376

Please sign in to comment.