[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 12:44:00 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?
>
> Can we make that more explicit on https://libc.llvm.org/math/stdfix.html?
I've updated stdfix's documentations.
https://github.com/llvm/llvm-project/pull/83959
More information about the libc-commits
mailing list