Skip to content

0.5.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@faheel faheel released this 05 Oct 17:48
· 7 commits to master since this release

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