Releases: vukicevic/crunch
Crunch v1.2.3
Fix nextPrime(1)
Fixed nextPrime skipping 2 when starting from 1.
Crunch v1.2.1
Fix for division/mod with negative numbers. Thanks to @Yaffle for reporting and fixing!
Crunch v1.2.0
Multiple bug fixes for division, stringify and compare functions.
Special thanks to @jefft0 for contributing to this release.
Crunch v1.1.0
Added Karatsuba Algorithm Multiplication
Crunch v1.0.9
Bug fix: .leftShift() and .rightShift() not working for numbers larger than 28 bits.
Bug fix: Parse negative numbers with ,parse()
Bug fix: Modulo of negative number
Improvement: Update test runner
Crunch v1.0.8
Fast sieve of Eratosthenes to generate primes, crunch initializes 10x faster!
Added bitwise operations.
Crunch v1.0.7
Introduce .stringify() and .parse() to convert between base-10 string representation and byte-arrays.
Tests and code cleanup.
Crunch v1.0.6
Input parameters, specifically negative big integers, will no longer be altered.
Crunch v1.0.5
Fix for issue #4 : nextPrime should return first prime larger than input, even if input is prime.