Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Herts committed May 22, 2024
2 parents 43cbf32 + fc71656 commit 003cf96
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## Features

- **Unlimited Integer Size**: Create integers of any size, limited only by available memory.
- **Arbitrary Integer Size**: Create integers of any size, limited only by available memory.
- **Basic Arithmetic Operations**: Support for addition, subtraction, multiplication, and division.
- **Advanced Computations**: Support for modulos, Square Roots, Powers, and Logarithms
- **Comparison Operators**: Full set of comparison operators (==, !=, <, <=, >, >=).
Expand Down Expand Up @@ -43,6 +43,12 @@ int main() {
bigint a("123456789012345678901234567890");
bigint b("987654321098765432109876543210");

bigint small_number = 10;
bigint big_number = 789456123;

bigint c = "123456789012345678901234567890";
bigint d = "-987654321098765432109876543210";

bigint sum = a + b;
bigint diff = a - b;
bigint product = a * b;
Expand Down

0 comments on commit 003cf96

Please sign in to comment.