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.3.tar.gz (18.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: spfpm-1.3.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for spfpm-1.3.tar.gz
Algorithm Hash digest
SHA256 7277b412aa02604db6935de9c37764702b446395c432e159bbcd86eb8393a099
MD5 d1aab188ed7a0698cc0999ef55a26517
BLAKE2b-256 d3f0607c85a0cbae9210599868a18ac775f0282e7acb66203a226ace71a91d87

See more details on using hashes here.

Supported by

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