Skip to main content

A configurable python package for Logarithmic Number System eXperimentation

Project description

xlns

XLNS: a configurable python package for Logarithmic Number System eXperimentation

Getting Started

It is recommended to create a python virtual environment for experimentation with the xlns package. Within that environment, ensure you have the dependencies listed below installed.

Explanatory information about LNS is in the LNS_Intro.md file. By default, xlns uses 64-bit built-in floating point (FP) to calculate as accurately as is possible. We call this approach ideal. The recent interest in LNS is mostly because there are many non-ideal approximations which greatly reduce the cost of the hardware, and some of these methods are available here as user configurations. Information on available user configurations can be found in the README.md file in src/xlnsconf. It also explains how you can contribute your own configurations to this open-source project.

Dependencies

numpy

pip3 install numpy

For some examples, matplotlib is also needed:

pip3 install matplotlib

You can grab all the dependencies in one go using the requirements file thus:

pip install -r requirements.txt

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

xlns-1.0.2.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xlns-1.0.2-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file xlns-1.0.2.tar.gz.

File metadata

  • Download URL: xlns-1.0.2.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for xlns-1.0.2.tar.gz
Algorithm Hash digest
SHA256 7204bb05955e01f4f52dc254f8fe35cb19d6d2ad24e9776febf75d805b171979
MD5 9d1b91edceb4d9fc8af3cbba48aedfd1
BLAKE2b-256 eb5dec58b524e751de66a31e8a2d2c9140584d8202067a62ae2ff764f383a41a

See more details on using hashes here.

File details

Details for the file xlns-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: xlns-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for xlns-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 719d90d53d3386a04101cac9b63f9a7f0c6519bad56a9fa2c90e77405020b513
MD5 52435a8d237fc9e785d2a022a0aa1f28
BLAKE2b-256 1c43bb484fa8ec6f3e26f7d58a4b48a877cc24673459e23255c6b3751bc2fe26

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