Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

Releases: keep94/sqroot

v3.8.3

Choose a tag to compare

@keep94 keep94 released this 17 Mar 17:28

Archive this repository.

v3.8.2

Choose a tag to compare

@keep94 keep94 released this 26 Apr 14:39
  • Bump to github.com/keep94/itertools@v0.6.0

v3.8.1

Choose a tag to compare

@keep94 keep94 released this 18 Mar 13:47

Cleanup

  • Exact() method no longer needs to precompute digit count ahead of time.

v3.8.0

Choose a tag to compare

@keep94 keep94 released this 22 Feb 19:52

New Features

  • AsString function to replace DigitsToString

Deprecated functions

  • DigitsToString in favor of AsString
  • Find and FindR in favor of Matches and BackwardMatches
  • FindAll, FindFirstN, FindLastN in favor of using golang iterators
  • FiniteNumber.Iterator and FiniteNumber.Reverse in favor of FiniteNumber.All and FiniteNumber.Backward
  • NewNumberFromBigRat in favor of NewNumberForTesting
  • Positions.Ranges in favor of Positions.All
  • Sequence.Iterator in favor of Sequence.All
  • FiniteSequence.Reverse in favor of FiniteSequence.Backward

Deprecated structs

  • Digits

v3.7.2

Choose a tag to compare

@keep94 keep94 released this 22 Dec 21:15

Bug Fixes

  • Misbehaved Generator implementations cannot break the NewNumber function. It is no longer possible to trick NewNumber into returning a Number where the first digit of the mantissa is zero because NewNumber won't break even if the Generate method on Generator returns different digits and exponent with each call.

v3.7.1

Choose a tag to compare

@keep94 keep94 released this 21 Dec 19:06

Code Improvement

  • NewNumber() now uses less code to do the same thing.

v3.7.0

Choose a tag to compare

@keep94 keep94 released this 20 Nov 04:19

New Features

  • Introduce Values method on Sequence interface

v3.6.1

Choose a tag to compare

@keep94 keep94 released this 30 Oct 02:06

Documentation Improvements

  • Simplify documentation for FiniteNumber usage.

v3.6.0

Choose a tag to compare

@keep94 keep94 released this 12 Sep 11:24

New Features

  • Introduce NewFiniteNumber() function which works like NewNumberForTesting() except that it creates FiniteNumbers.
  • NewNumberForTesting returns a *FiniteNumber if caller gives no repeating digits.

Bug fixes

  • FiniteNumber.Exact() behaviour changed so that it behaves exactly like the String() method when there are fewer than 16 digits in the mantissa. Before FiniteNumber.Exact() would revert to scientific notation if there were very few significant digits. For example it would wrongfully give "0.12e+04" instead of "1200".

v3.5.0

Choose a tag to compare

@keep94 keep94 released this 17 Aug 00:59

New Features

  • Utilise go 1.23 iterators
  • Add All() method to Sequence
  • Add Backward() method to FiniteSequence
  • Add All() method to Positions
  • Add Matches() to return all the matches of a pattern in a Sequence
  • Add BackwardMatches() to return all the matches of a pattern in a FiniteSequence from end to beginning

Requirements

  • This version requires go 1.23 or later. For older versions of go, use v3.4.9