Algebraics 0.1.0 -- pure-Rust algebraic numbers library

I just published the initial release of algebraics, an algebraic numbers library.

Use when you need exact arithmetic, speed is not critical, and rational numbers aren't good enough.

I wrote it because there wasn't a pure-Rust algebraic numbers library before and building the existing C libraries is usually a pain.

See the link above for usage examples.

See reply on libre-riscv-dev for an incomplete description of the algorithms used.


published version 0.1.1, which adds new methods to get the floor or ceiling of the base-2 logarithm of an algebraic number (checked_floor_log2/checked_ceil_log2).


Published version 0.1.2 which adds Python bindings using PyO3.
Also published on PyPI.

1 Like