Python port of the Mathematica unum prototype from "The End of Error"
jrmuizel/pyunum
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
This is a python port of the Mathematica unum prototype described in John Gustafson's The End of Error: Unum Computing available here: https://www.crcpress.com/product/isbn/9781482239867 It currently implements all that is needed for polynomial evalution and brute-force solving. The goal is largey to follow the structure of the original Mathematica version, but at the same time keep it mostly readable Python. The basic format of a Unum is: sign bit | exponent bits | fraction bits | ubit | exponent size | fraction size where the sizes of exponent bits and fraction bits fields depends on the exponent size and fraction size fields. And the size of the exponent size and fraction size fields is determined by the environment. Some other implementations: https://github.com/REX-Computing/unumjl https://github.com/SFrijters/unum-d https://github.com/tbreloff/Unums.jl See also: http://juliacomputing.com/blog/2016/03/29/unums.html
About
Python port of the Mathematica unum prototype from "The End of Error"
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published