You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,3 +28,5 @@ This file helps AI agents discover and understand how to work with this reposito
28
28
29
29
- Balanced ternary bigint logic in `include/t81/core/bigint.hpp` now normalizes signed limbs more efficiently and fixes `~`/division helpers so later agents can spot the modern bitwise/division flow.
30
30
-`tests/unit/test_numeric_types.cpp` now exercises `Complex`, `Polynomial`, and `F2m` helpers so the umbrella numeric helpers stay locked down.
31
+
-`README.md` now documents the high-level helpers (`Float`, `Ratio`, `Complex`, `Polynomial`, `F2m`, `Fixed<N>`, `Modulus`, and `MontgomeryInt`) plus the `t81::Int` alias exposed through `t81/t81lib.hpp`.
32
+
-`include/t81/t81lib.hpp` now exposes `Float::from_string`, a `Ratio`→`Float` conversion, the `Int81``Fixed<48>` alias, and `std::hash` hooks for `limb`/`bigint` so hashing and string-based floats land in the umbrella header.
and deterministic hashing when you need ternary determinism in a binary world.
20
20
-**Arbitrary-precision math**: `t81::core::bigint` layers on top of limbs with sign-plus-magnitude,
21
21
Karatsuba-aware multiplication, canonical normalization, and full conversion helpers.
22
22
-**SIMD accelerations**: The SIMD helpers under `include/t81/core/detail/simd_impl.hpp` contain AVX-512, AVX2, and NEON implementations for tryte addition/multiplication so the core limb arithmetic can leverage vector hardware when available.
23
23
-**Base81 I/O**: Formatting/parsing now supports bases 2..81 with the playful base-3⁴ alphabet (0-9, a-z, A-Z, and punctuation) so you can round-trip balanced-ternary-friendly strings without extra glue.
24
24
-**Concrete helpers**: Montgomery contexts, I/O formatters, random tooling, and utility guards
25
25
keep reusable patterns consistent and testable.
26
+
-**High-level helpers**: The umbrella header now also exposes `t81::Float`, `t81::Ratio`,
27
+
`t81::Complex`, `t81::Polynomial`, `t81::F2m`, and `t81::Fixed<N>` along with modular
28
+
helpers like `t81::Modulus`/`t81::MontgomeryInt` for quick prototyping of ternary-aware
29
+
algebra and number-theoretic math.
26
30
-**Specs & architecture**: Normative coverage under [doc/](doc/), plus a human-friendly
27
31
[ARCHITECTURE.md](ARCHITECTURE.md) walkthrough (new!) and a docs portal at [docs/index.md](docs/index.md) for quick orientation.
28
32
-**Examples & proofs**: `examples/` shows runnable use cases while `tests/` and
0 commit comments