fix(libc): follow msun for acoshf #10003
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/10003"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T03:45:37Z.
What
acoshfcurrently forwards to the Windows host library. The #9707 survey reports 216,017 and 216,024 result-bit differences from the two bundledlibc.prxbuilds over 20 million inputs. This ports FreeBSD msun'se_acoshf.crange handling and reuses the existinglog1pfpath for inputs near 1. The invalid-domain path raisesFE_INVALIDwithout settingerrno, as the source does.The survey establishes host-versus-title differences, not the exact implementation used by every console library. The exact system
libSceLibcInternalbehavior and FMA-contractedlibc.prxresults remain unverified, as recorded in the debt entry.Tested
Math.cppandGuestMath.cpp.FE_INVALIDand unchangederrno; 1,000,000 random finite inputs stayed within 2 ULP of double-precisionstd::acoshrounded to float.GuestMath.cppcompiled.guest_mathtarget was not run.check_conventions.py,pr_overlap.pyandgit diff --checkpassed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)