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.4.tar.gz (23.2 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.4-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xlns-1.0.4.tar.gz
  • Upload date:
  • Size: 23.2 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.4.tar.gz
Algorithm Hash digest
SHA256 f4bf626e20c6bd12601b7b9dd8490c04c5652ffa196c4e8eac44f8795bec6a39
MD5 94c26d49662498ebb364422a0e724714
BLAKE2b-256 0abd53880c64214580ce56b987b72643e8a1dc8b1ccefbd45881f71cce8ff62c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xlns-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 24.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 746c237551542a4477e4a1c584057553ddb07d63067c3de206052de9626232ac
MD5 dd6c8383076cfbe4e757d2e52b732c58
BLAKE2b-256 ccd6c6ce671e4356db2dfba31f7a8d6f6361d3c61c36477902db27bdfc3c3890

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