feat(libc): implement sinh #1723

Closed
MarcZX10 wants to merge 1 commit from upstream-pr/1723 into main
MarcZX10 commented 2026-10-08 17:36:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T17:36:43Z.


What

Implement the missing double-precision sinh export using the C++ standard library. Tests cover zero, odd symmetry and positive infinity. This resolves the missing import identified by the homebrew compatibility audit in #1578.

Tested

Linux, GCC: built libc and guest_math_tests; ctest -R ^guest_math$ passed (1/1). Conventions and git diff --check passed.

Checklist

  • Based on current main; no other open PR implements this function
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw; this path is implemented
  • No notes, investigation files or images added
  • No third-party code added
  • Generic behavior, not title-specific
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4790582921 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1723). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T17:36:43Z. --- ### What Implement the missing double-precision sinh export using the C++ standard library. Tests cover zero, odd symmetry and positive infinity. This resolves the missing import identified by the homebrew compatibility audit in #1578. ### Tested Linux, GCC: built libc and guest_math_tests; ctest -R ^guest_math$ passed (1/1). Conventions and git diff --check passed. ### Checklist - [x] Based on current main; no other open PR implements this function - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw; this path is implemented - [x] No notes, investigation files or images added - [x] No third-party code added - [x] Generic behavior, not title-specific - [x] Depends on: none - [x] AI-assisted: yes
oneandonlydean commented 2026-10-08 19:21:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T19:21:37Z.


#1405 already adds sinh, so closing this as a duplicate. Can be reopened if #1405 ends up without it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6067350406 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1723#issuecomment-6067350406). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-08T19:21:37Z. --- #1405 already adds `sinh`, so closing this as a duplicate. Can be reopened if #1405 ends up without it.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!1723
No description provided.