Skip to content

Latest commit

 

History

History
85 lines (70 loc) · 2.58 KB

CHANGELOG.md

File metadata and controls

85 lines (70 loc) · 2.58 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.11.0] - 2022-02-13

Added

  • NewType gives access to all types this library can handle.
  • ToComparable and FromComparable
    • You can compare such values without decoding.
    • You can find the difference relying on unsigned integer overflow.

[1.10.0] - 2022-01-12

Added

  • Integer overflow protection in UseIntegerDelta.

Changed

  • It is faster than v1.9.0.
  • The source code is shorter, clearer and commented in detail.

[1.9.0] - 2022-01-09

Added

  • Methods Abs(x), MinValue(), MaxValue().

Changed

  • It is 28% faster.

[1.8.0] - 2022-01-05

Added

  • Support for 2-bit exponent.

Removed

  • All preconfigured methods.

[1.7.0] - 2022-01-05

Changed

  • Tests now work through the new API.
  • Single-module package.

[1.6.0] - 2022-01-04

Added

  • Fully customizable object-oriented API.

Deprecated

  • All preconfigured methods.

[1.5.0] - 2022-01-01

Removed

  • Default, 14 and m11x3 types.

Changed

  • Type defaultD is now 12.
  • Type unsigned renamed to 12u.
  • Type 14d renamed to 14.
  • Type m11x3d renamed to 15x3.

[1.4.0] - 2022-01-01

Changed

  • EncodeDelta[TypeName] renamed to GetIntegerDelta[TypeName].
  • DecodeDelta[TypeName] renamed to UseIntegerDelta[TypeName].

[1.3.1] - 2022-01-01

Changed

  • Even though everything works fine, I've added an explicit limit on the maximum value of the mantissa to ensure that it never gets rounded incorrectly.

[1.3.0] - 2022-01-01

Deprecated

  • Default, 14 and m11x3 types.

[1.2.0] - 2022-01-01

Added

  • New types defaultD, 14d, m11x3d with different bits ordering suitable for delta encoding.
  • Functions EncodeDelta[TypeName], DecodeDelta[TypeName].

Changed

  • Accuracy has increased. The mantissa – binarySignificand variable – is now rounded to the nearest integer (git:18cfb1a9).
  • Function getExponent has been changed to match the rounding change (git:28458380).

[1.1.0] - 2021-12-25

Added

  • 15-bit type with 3-bit exponent (m11x3).