fixed

Pure Haskell large fixed-width integers and Montgomery arithmetic (docs.ppad.tech/fixed).
git clone git://git.ppad.tech/fixed.git
Log | Files | Refs | README | LICENSE

commit e303bda7578385f488c2f23baa2e1a6a2b0b2aaf
parent f60c6583eb0eedc80701c9f22c9921c64a7276bc
Author: Jared Tobin <jared@jtobin.io>
Date:   Sat,  1 Aug 2026 14:28:17 -0230

release: v0.2.0

Diffstat:
MCHANGELOG | 12++++++++++++
Mppad-fixed.cabal | 2+-
2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,5 +1,17 @@ # Changelog +- 0.2.0 (2026-08-01) + * Addresses a couple of minor issues detected by an LLM scan: + + * Fixes a bug that could lead shl1_c# to produce a malformed Choice + that would behave incorrectly for negation or selection. + + * Each Montgomery domain's 'signum' implementation was broken, + producing R^-1 instead of the proper in-domain 'one'. Now these + return the appropriate values. + + Also clarifies a few Haddocks, on the suggestions of the same scan. + - 0.1.6 (2026-08-01) * The eq_{word,wide,wider}# functions now return a mask, instead of a bit, inside the resulting Choice value. diff --git a/ppad-fixed.cabal b/ppad-fixed.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: ppad-fixed -version: 0.1.6 +version: 0.2.0 synopsis: Large fixed-width words and constant-time arithmetic. license: MIT license-file: LICENSE