[libc-commits] [libc] [libc][stdfix] Add integer square root with fixed point output functions. (PR #83959)
via libc-commits
libc-commits at lists.llvm.org
Tue Mar 5 09:37:13 PST 2024
lntue wrote:
> > Even though it's not part of ISO 18037
>
> What does that mean? Are these now functions outside of that spec? 😒
Technically, the ISO standard does not define any math functions beyond mixed integer-and-fixed-point multiplications and divisions, not even including `sqrt`.
Ideally, I would like to have all C23 math functions available for all numeric types. We could have a complete math library for fixed point type and with the proof of their usefulness, maybe fixed point types + its math library will be incorporated into the future C standards, and ours can be served as a reference implementation?
https://github.com/llvm/llvm-project/pull/83959
More information about the libc-commits
mailing list