[libc-commits] [libc] [libc][stdfix] Implement divifx functions in LLVM libc (PR #206115)

via libc-commits libc-commits at lists.llvm.org
Sat Jul 4 06:13:38 PDT 2026


Sukumarsawant wrote:

> Also quick question about the organization of the implementation. I followed the existing pattern used by idiv and rdivi by placing the divifx template in libc/src/__support/fixed_point/fx_bits.h but I was wondering if thats where you would prefer these helper templates to live long term. Would it make more sense for algorithms like divifx (and maybe even idiv/rdivi as well) to live in separate headers under libc/src/__support/fixed_point (like sqrt.h does) and let fx_bits.h mainly contain the core utilities.

@PiJoules 

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


More information about the libc-commits mailing list