[libc-commits] [libc] [libc][stdfix] Implement fixed point fxdivi functions in llvm-libc (PR #210020)

Mikhail R. Gadelha via libc-commits libc-commits at lists.llvm.org
Mon Aug 17 04:30:06 PDT 2026


mikhailramalho wrote:

I mean, we could make the div exact by extending to double width, shifting the dividend, and doing one integer division. `UIn128` should be enough to do it, and I *think* it will be faster than the 4 iters.

A follow-up work tho, not required here IMO.

https://github.com/llvm/llvm-project/pull/210020


More information about the libc-commits mailing list