Releases: faheel/BigInt
Releases · faheel/BigInt
0.5.0
Changelog
New functions
- Math functions:
gcd
,lcm
- Random functions:
big_random
New tests
- Math functions:
gcd
,lcm
- Random functions:
big_random
sqrt
: add test case for perfect squares
Bug fixes and optimisations
- Optimise binary arithmetic operators for powers of 10
- Fix wrong results for perfect squares in
sqrt
- Remove unnecessary substring creation in the constructor
- Ensure that the first digit of a randomly generated
BigInt
is non-zero
Docs
- Add code examples for new functions
- Update links
- Publish the README as a GitHub pages website
- Add instructions to generate the single-include header file
Other
- Update Catch to v2.2.2
- Use CTest for running tests
- Update recipes for running tests and code coverage
- New Travis CI builds for GCC 8 and Clang 6 on Linux
- Disable code coverage analysis for now to prevent failing builds
- Modify usage of
sed
to be compatible with macOS - Move GitHub specific files to separate directory
- Ignore IDEs' and code editors' files
0.4.0
Changelog
New functions
- Math functions:
pow
,sqrt
New tests
- Binary arithmetic operators: base cases for
/
and%
- I/O stream operators:
<<
,>>
- Math functions:
pow
,sqrt
- Constructors: exception cases
100% code coverage 💯
Bug fixes
- Updated numeric limits' names
- Fixed issues with ambiguous constructor calls when using Clang
- Stripped leading zeroes when constructing objects from strings and before returning results
- Added missing headers in unit tests
Docs
- Code examples for new functions
- More details regarding development
- Code of Conduct
- Issue template
- Badges ⭐️
Other
- Use CMake for the build process
- Set up code coverage (finally!)
- Simplified the Makefile
- Updated Travis build config 👷
- Added a script to combine all unit tests
- Updated the test script
0.3.0
Changelog
New operators
- Binary arithmetic operators:
*
,/
,%
- Arithmetic-assignment operators:
*=
,/=
,%=
New functions
- Conversion functions:
to_string
,to_int
,to_long
,to_long_long
- Math functions:
big_pow10
Other changes
- Unit tests and code examples for all new operators and functions
- Improved compile time
- Update Catch to v2
- Added test script
- Updated release script
0.2.0
Changelog
New operators
- Binary arithmetic operators:
+
,-
- Arithmetic-assignment operators:
+=
,-=
- Increment and decrement operators:
++
,--
(both prefix and postfix)
New functions
- Math functions:
abs
Other changes
- Unit tests and code examples for all new operators and functions
- Updated release script
0.1.0
Operators available:
- Assignment operators:
=
- Unary arithmetic operators:
+
,-
- Relational operators:
<
,>
,<=
,>=
,==
,!=
- I/O stream operators:
<<
,>>
Other features:
- Makefile for automated builds
- Release script for automated release
- Unit tests for constructors and all available operators