Skip to content

feat(libc): implement the tgammaf export - #2964

Closed
Prophet069 wants to merge 1 commit into
boykopovar:mainfrom
Prophet069:codex/publish-tgammaf-20261010
Closed

Prophet069 wants to merge 1 commit into
boykopovar:mainfrom
Prophet069:codex/publish-tgammaf-20261010

Conversation

@Prophet069

Copy link
Copy Markdown
Contributor

What

Provide the missing single-precision gamma export through the host standard math implementation. Tests exercise factorial values, gamma(1/2), signs, NaNs/infinities, poles, errno, floating-point exceptions and the guest SysV ABI. No nextafter/nextafterf implementation is bundled.

Tested

Windows: affected libc built from this branch with a standalone CMake driver using the repository libc target; functional CTest guest_tgammaf passed. Linux/macOS and full-project CI not run. This supersedes only the tgammaf portion of the closed #1806; no upstream runtime-crash claim is made.

Base: 3cb317fcfd877f93b0b65adbe7b737ba1ba5123f; candidate: b3c826c5c7f0cc52b46cf32f3fc560795c5813db. python tools/check_conventions.py --base origin/main passed.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths fail; no silent success stub added
  • No investigation files, game data, dumps, logs or images in the branch
  • No new third-party dependency
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes. Prepared and tested with Codex.

Tests were run on1476f769 and retained across the conflict-free rebase to3cb317fc. That upstream interval does not change the tested libc/decoder/IR sources. No game was started for this submission.

@github-actions github-actions Bot added libc build intake paused Closed while PR intake is limited to authors with at least 10 PRs merged into main labels Oct 10, 2026
@github-actions

Copy link
Copy Markdown

Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.

@github-actions github-actions Bot closed this Oct 10, 2026
@github-actions

Copy link
Copy Markdown

Progress report (3cb317f → b3c826c)

➖ System libraries: 84.48% (+0.0%, +1 implemented functions)

✅ 1 implemented
Library Name
libc tgammaf_nid_postfix

@Prophet069 Prophet069 mentioned this pull request Oct 13, 2026
11 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build intake paused Closed while PR intake is limited to authors with at least 10 PRs merged into main libc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant