https://github.com/user0332/fixedp
https://github.com/user0332/fixedp
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/user0332/fixedp
- Owner: User0332
- License: mit
- Created: 2024-08-26T14:22:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T14:23:50.000Z (almost 2 years ago)
- Last Synced: 2025-03-17T18:52:15.737Z (about 1 year ago)
- Language: C++
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FixedP - Fixed-Point Arithmetic Library for C++ & Python
FixedP is a library that allows the user to allocate arbitrary numbers of bytes to a fixed-point number's integer and fractional parts. As long as numbers with smaller or the same precision are always added to the target number (e.g. the target number handles the addition operation), rounding errors will not occur, but the fixed-point numbers are still prone to overflow.
A C/C++ extension for Python is currently being created to add Python support for this library.
FixedP is still in development and does not currently support all of the features listed here.