feat(libc): implement asinh #1718

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

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


What

Implement the missing double-precision asinh export using the C++ standard library. Cover zero, a finite positive input and negative infinity. The unresolved import appears in the homebrew compatibility audit discussed 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:4790562675 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1718). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T17:34:52Z. --- ### What Implement the missing double-precision asinh export using the C++ standard library. Cover zero, a finite positive input and negative infinity. The unresolved import appears in the homebrew compatibility audit discussed 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:22 +00:00 (Migrated from github.com)

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


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

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6067345880 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1718#issuecomment-6067345880). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-08T19:21:22Z. --- #1405 already adds `asinh`, 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!1718
No description provided.