Repository navigation
Conversation
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
|
|
Windows test: head AI-assisted (Claude Code). |
|
Rebase handoff — rebased onto current Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release,
To pick it up: |
41b598a to
ea5eac2
Compare
ea5eac2 to
7366b1c
Compare
Carry the implementation from screamm/feat/libc-abs-powidf2, based on compiler-rt powidf2. Current main already implements abs; remove its stale H+8UwfScI placeholder and let the __powidf2 NID resolve to this implementation. Original commit: 2842273 (feat(libc): implement abs and __powidf2)
7366b1c to
f9fe59f
Compare
What
Completes #3161. Current
mainalready hasabs; this change adds the missing__powidf2integer-power helper as the SDK's Clang compiler-rt implementation and removes the staleH+8UBOwfScIplaceholder, which has the same NID. The exponent magnitude is handled as unsigned, includingINT_MIN. The existing float helper is unchanged. TechnicalDebt records the assumed compiler-rt behavior and its underflow difference frompow.The implementation is carried from screamm’s ready branch, with the original author preserved.
Tested
BUILD_TESTING=ON: configured successfully.guest_math_tests;ctest -R '^guest_math$': 1/1 passed.python3 tools/nid_names.py --nid 'H+8UBOwfScI' --jsonidentifies__powidf2as already implemented.python3 tools/check_conventions.py --base upstream/main: passed.git diff --check: passed.Checklist
main; no other open PR implements this functionNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository