Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for spfpm, version 1.4
Filename, size File type Python version Upload date Hashes
Filename, size spfpm-1.4.tar.gz (20.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page