#12564 closed Support Requests (wontfix)
Is there any fixed point arithmetic types in Boost?
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | None |
Version: | Boost 1.62.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Hi,
Sorry if this is a dumb question but I have been looking for fixed point types in Boost and not found any...
Yet I feel there must be...
Thanks for any help
Juan
Change History (3)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Several have been discussed on the mailing list.
Closing this issue down for now.
comment:3 by , 6 years ago
You will find a working version of fixed-point by Christopher Kormanyos at
https://github.com/BoostGSoC15/fixed_point
This is being used for real-life applications and is being actively supported and developed.
But it is not reviewed and no part of the Boost release, but it might become so in future.
Documentation is available via the github version after you have cloned the repository via index.html
and also directly in pdf format at https://dl.dropboxusercontent.com/u/43940943/fixed_point.pdf (though not all the hyperlinks work).
This version uses a specified underlying integral type (char, int, long int ...) and does not expand to a bigger type (exactly as normal C/C++ integer and floating-p[oint types). But it does allow Boost.Multiprecision types to use many more bits and the built-in types.
Recommended.
I strongly recommend posting your question to the Boost mailing list at http://lists.boost.org/mailman/listinfo.cgi/boost