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

via libc-commits libc-commits at lists.llvm.org
Mon Feb 24 14:39:37 PST 2025


PiJoules wrote:

> Tests for `int_hr_t` (`short fract`) don't seem to work as it's just a `typedef` for `signed char`, and we don't have defined tests for that (and also `signed char` != `char`), I’ve excluded the tests for this type from `libc/test/CMakeLists.txt` for now. Apart from that, I built on the implementations of the already existing `fxbits` and `countlsfx` functions for this patch.

What's the failure you're seeing for `short fract`?

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


More information about the libc-commits mailing list