Skip to main content

Tools for arithmetic on fixed-point (binary) numbers

Project description

The Simple Python Fixed Point Module (SPFPM) is a pure-Python module which provides basic facilities for manipulating binary fixed-point numbers of essentially arbitrary precision. It aims to be more suitable for simulating digital fixed-point artihmetic within electronic hardware (e.g. for digital signal processing (DSP) applications) than the Decimal package, which is more concerned with fixed-point arithmetic in base-10. SPFPM supports basic arithmetic operations as well as a range of mathematical functions including sqrt, exp, sin, cos, atan etc.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spfpm-1.6.tar.gz (26.3 kB view details)

Uploaded Source

File details

Details for the file spfpm-1.6.tar.gz.

File metadata

  • Download URL: spfpm-1.6.tar.gz
  • Upload date:
  • Size: 26.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for spfpm-1.6.tar.gz
Algorithm Hash digest
SHA256 871019f2dd2a4e215942dda5f4945ef868fd04d4ec1c962428e185687320378b
MD5 13c76f016d37bdcea2d1430886e62fab
BLAKE2b-256 8de1beba7adb71dd6b862605cd094f6f81d6928e1c533da02b589ff52b18a621

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page