feat(libc): implement sinhf #3597
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3597"
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 Recapi on 2026-10-11T14:01:09Z.
What
Implements
sinhf(1t1-JoZ0sZQ, libSceLibcInternal), the next stop of Ruffle Flash (PPSA68091, catalog 1.2.0) onmain(#1578). It forwards to the host'sstd::sinh, likesinh,coshfandtanhfnext to it.Tested
Linux (Ubuntu, GCC, Release) on
maina11c8f7. The catalog ZIP was checked against its sha256,eboot.binandsce_module/libc.prxwere unwrapped as #2605 requires, and the title was relinked with--registryand run in a sandbox with no network:main:./app.elf: symbol lookup error: ./app.elf: undefined symbol: 1t1-JoZ0sZQ./app.elf: symbol lookup error: ./app.elf: undefined symbol: EDyhWelj7UY(pause)guest_mathpasses 3/3 (--repeat until-fail:3). The new cases cover signed zero, a tiny argument, ±infinity, NaN, overflow at ±90 with ±89 still finite, and two values againstsinh.check_conventions.pypassesChecklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T14:01:30Z.
Progress report (
a11c8f7→89ffad6)📈 System libraries: 85.82% (+0.01%, +1 implemented functions)
✅ 1 implemented
sinhf_nid_postfixImported from boykopovar/AnyPS5. Originally posted by Recapi on 2026-10-11T14:41:06Z.
Fork CI for this commit: run 38145811688.
guest_mathpasses on Linux and Windows. The failures in that run are unrelated to this change, and the Windows ones are the same as inmain's own run ona11c8f7(38144471410):guest_kernel_sys,windows_exceptionsagc_driver_emulated_color_compare,agc_driver_image_plane_address_on_li…,guest_kernel_stack_protectImported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-11T15:20:17Z.
Independent pre-review on Linux (full CI runs only happen on manual trigger, so recording one): CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release,
BUILD_TESTING=ON.tools/check_conventions.py --base origin/mainpasses.sinhfhalf of #3519, which has a dual-platform-verified branch (blawesom:verify/3519) coveringsinhfandasinltogether — linking for the reviewers' visibility.Imported from boykopovar/AnyPS5. Originally posted by Recapi on 2026-10-11T16:01:28Z.
Closing in favour of #3725, which carries @screamm's
sinhffrom #3519. That port matches the console's msun code bit for bit, where this one is a host one-liner. Thanks @blawesom for pointing out the overlap.Pull request closed