RossComputerGuy wrote: I'm not sure, the implementation I made is similar to Musl's but both are simple implementations. glibc's implementation is much larger but looks to achieve the same results. https://github.com/llvm/llvm-project/pull/121179