Pyunum
Python port of the Mathematica unum prototype from "The End of Error"
Install / Use
/learn @jrmuizel/PyunumREADME
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
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
