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.3.tar.gz (21.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.3-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xlns-1.0.3.tar.gz
  • Upload date:
  • Size: 21.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.3.tar.gz
Algorithm Hash digest
SHA256 2b45261c88c5b0dac495262a201ced16f911178d86fd556dc547d5c946fcab63
MD5 e2c27ddf720b5856769e2af2e87a7810
BLAKE2b-256 484d447a408dd4f13ace27b038a558965682e70e3b976ff965a1b4e9d04aed35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xlns-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a0bf34c9bd52c9a9c9742be8f17765461c23799e895ea93431d6bd380d1dd14b
MD5 d3fb1b37d869f612007891c0bcc408c5
BLAKE2b-256 07a760cbf16ac682e18586d2419ffb9574a00337bbe3a2120e6d468567196c8f

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