Skip to content

XLNS: a configurable Python package for Logarithmic Number System eXperimentation

License

Notifications You must be signed in to change notification settings

xlnsresearch/xlns

Repository files navigation

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

About

XLNS: a configurable Python package for Logarithmic Number System eXperimentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages