Skip to the content.
fxpmath logo

A Python library for fractional fixed-point (base 2) arithmetic and binary manipulation with NumPy compatibility.

Develop version: 0.4.10-dev0 Status snapshot: 2026-03-24 Pages source: gh-pages
Develop branch status (highlights): Packaging modernization (PEP 517/621), improved complex handling, broader bitwise coverage including >64-bit paths, and reshape API alignment with NumPy.

What You Can Do With fxpmath

Represent And Scale Precisely

  • Signed/unsigned fixed-point formats
  • Arbitrary word and fractional sizes
  • Linear scaling with scale and bias
  • Extended precision workflows

Compute Like A Numeric Type

  • Arithmetic and bitwise operators
  • Configurable rounding/overflow behavior
  • NumPy interoperability and function dispatch
  • Array operations, reshape, reductions and more

Quick Navigation

  1. Keep Pages source explicit (gh-pages branch root) or move to a dedicated GitHub Actions Pages deploy workflow when you need tighter build control.
  2. Use a custom 404 page and keep navigation links shallow so users can recover quickly from broken URLs.
  3. If using a custom domain, verify the domain ownership and keep HTTPS enabled to reduce takeover risk.