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.5.tar.gz (23.9 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.5-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xlns-1.0.5.tar.gz
Algorithm Hash digest
SHA256 8b03e8e9efa81fa69ee07e037010d1745e499aa914f58daaa6f38bb57a57b9a6
MD5 ed938ffdb2c6951130e35d8503317ddd
BLAKE2b-256 12409f5d88a19fcf0aab33b9a9cae0f98b4f4709cd9e5d6d1baf6df6403b1d03

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xlns-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 112ac7a09b85ffbab6db683e2e141b5bb7bf04604ded41ece6fd6449045de89c
MD5 04972d91d641cb92b9c8f22d2db0b3aa
BLAKE2b-256 fa79f05dbbd6a7bd828324e33b0ab7837a8a20fed83cc8e09d4f2213b9d21b9b

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