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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for spfpm-1.4.tar.gz
Algorithm Hash digest
SHA256 ca3188e6072350211ae9e1e14be463ea0b16bae06ce1ef3246d9ecdf47199551
MD5 b6b443d3cd6726b208087c4cfec75e34
BLAKE2b-256 d5e11baf575dcfdce197d7a3eef0cf571ef628b0b56a51a409d67d4e434eb7bb

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