Skip to content

Releases: vukicevic/crunch

Crunch v1.2.3

25 Sep 08:55
Compare
Choose a tag to compare
  • Declaration file for typescript

Thanks to @maxmuen who contributed the change.

Fix nextPrime(1)

27 Apr 10:45
c3f41d1
Compare
Choose a tag to compare

Fixed nextPrime skipping 2 when starting from 1.

Crunch v1.2.1

12 Mar 13:44
Compare
Choose a tag to compare

Fix for division/mod with negative numbers. Thanks to @Yaffle for reporting and fixing!

Crunch v1.2.0

23 Oct 20:56
Compare
Choose a tag to compare

Multiple bug fixes for division, stringify and compare functions.

Special thanks to @jefft0 for contributing to this release.

Crunch v1.1.0

08 Sep 12:11
Compare
Choose a tag to compare

Added Karatsuba Algorithm Multiplication

Crunch v1.0.9

09 Jun 21:41
Compare
Choose a tag to compare

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

18 Dec 14:48
Compare
Choose a tag to compare

Fast sieve of Eratosthenes to generate primes, crunch initializes 10x faster!
Added bitwise operations.

Crunch v1.0.7

09 Dec 23:58
Compare
Choose a tag to compare

Introduce .stringify() and .parse() to convert between base-10 string representation and byte-arrays.
Tests and code cleanup.

Crunch v1.0.6

29 Oct 00:03
Compare
Choose a tag to compare

Input parameters, specifically negative big integers, will no longer be altered.

Crunch v1.0.5

12 Sep 13:41
Compare
Choose a tag to compare

Fix for issue #4 : nextPrime should return first prime larger than input, even if input is prime.