Skip to content

Efficient Lexicographic Encoding of Numbers for python

License

Notifications You must be signed in to change notification settings

rooterkyberian/elen

Repository files navigation

elen

Documentation Status Updates

Efficient Lexicographic Encoding of Numbers for python. Based on ELEN algorithm published by Peter Seymour, http://www.zanopha.com/docs/elen.pdf .

Features

  • two-way conversion between ELEN notation and Python decimal.Decimal instance

Usage

>>> from decimal import Decimal
>>> import elen
>>> elen.decimal(Decimal("3.145"))
'=3145-'

About

Efficient Lexicographic Encoding of Numbers for python

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published