fix(libc): compute powf like the libc.prx that titles ship #9850

Merged
JJenkx merged 6 commits from upstream-pr/9850 into main 2026-10-27 08:07:01 +00:00
JJenkx commented 2026-10-22 18:08:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T18:08:47Z.


What

powf returned the host's pow, apart from returning 1 for base 1 (#3602), so its last bit and its errno depended on the host. On Windows (UCRT) the bits differ from the libc.prx that titles ship on 3,171,678 of the 100,001,089 argument pairs I compared. Examples, console then main:

  • powf(0x3f9e2cf9, 0xbf5a98dc) → 0x3f55ab48;
  • powf(0x3fad4946, 0x40c1ad7a) → 0x40c82840.

The titles' powf (NID 1D0H2KNjshE) is FreeBSD msun's e_powf.c as of release/9.0.0 (identified by @harisibrar1). Its arithmetic is the same as 11.4's, but it differs in two special cases:

  • A NaN argument returns its quieted payload; there is no "1**y is 1 even for NaN" shortcut. So powf(1, NaN) is that NaN (powf(1, 0x7f800001) = 0x7fc00001), not 1.
  • (±1)**±inf returns y - y, the default NaN 0xffc00000, not 1.
  • With two NaN arguments, the first one's NaN is returned, quieted (powf(0x7fc00001, 0xffc00002) = 0x7fc00001). 9.0.0 writes this as (x+0.0F)+(y+0.0F). The implementation explicitly selects the first NaN and sets its quiet bit: C++ x + y does not guarantee which payload survives, and GCC 12 selected the second payload in review. A signaling operand raises FE_INVALID, preserving the prior arithmetic behavior on the tested Linux hosts; zero exponents still return 1 before this path. Console exception flags remain unverified.

With msun 11.4's two special cases, the port differs from the titles on exactly those 8 cases of the special grid, plus 284 NaN-pair payloads. With the older rules it matches every pair. So this reverses #3602's powf(1, y) == 1 for NaN y, which followed the current msun source rather than a title's copy, and updates CheckPowfSpecialValue to the titles' results.

errno: msun sets none, but the titles' copy sets:

  • EDOM in the two (x - x) / (x - x) branches: a negative finite base with a non-integer exponent, -1 included;
  • ERANGE only in the final overflow and underflow returns.

The |y| > 2^27 shortcut returns infinity or zero without errno, for example powf(2, 0x4e000000). So do the zero and infinity special cases. The port sets errno in exactly those branches.

powf is imported by all 22 titles whose relinker registries I audited, for example PPSA01528, PPSA02630 and PPSA09614.

Tested

Historical Windows validation before the NaN portability correction below (not a Windows rerun of the new head):

Windows 11 Enterprise 10.0.22621, Ryzen 9 5950X, WinLibs GCC 15.2.0 UCRT r7, Ninja, Release, BUILD_TESTING=ON, main a6646f8464.

  • Sampled comparison: a scratch loader runs the decrypted libc.prx of PPSA07923, PPSA05916 and PPSA13934 natively and supplies __error. It compared their powf with this build's powf_nid_postfix on 100,001,089 pairs:

    • every pair of 33 special values (signed zeros, ±1 and neighbours, the 2^24/2^27 integer limits, the overflow/underflow edges, infinities, quiet and signalling NaNs);
    • 20M uniformly random bit pairs;
    • 20M positive bases with moderate exponents;
    • 20M bases in [0.5, 2) with larger exponents;
    • 20M negative bases with integer exponents;
    • 20M bases within 8 ulp of 1 with huge exponents.

    PPSA07923 and PPSA05916 give the same bits and errno for every pair. PPSA13934 has the same errno everywhere, but its FMA-contracted build differs by 1 ulp on 26,405 pairs. Pairs outside the sample are unverified.

  • guest_math: The original CheckPowfSpecialValue had 33 cases with the console's results and errno: random pairs where UCRT differs, the ±1/NaN/infinity cases above, square roots, a negative base with odd and non-integer exponents, zero bases with negative exponents, overflow and underflow on both sides of the edges, the 2^27 shortcut, infinite bases and three NaN/NaN pairs. guest_math and the libc tests (8) pass in three runs out of three. With main's Math.cpp and this test, guest_math aborts in a Require.

  • python tools/check_conventions.py --base origin/main and git diff --check pass.

  • Overlap: the branch merges without conflicts with my other math PRs (#9771, #9777, #9784, #9839, #9841, #9844). tools/pr_overlap.py finds one adjacency in docs/dev/debt/libc.md with #8863 (the neighbouring fegetenv entry); keeping both entries resolves it.

  • Independent Linux review: Dom3005's report tested head 65e1d32b7 merged cleanly onto main fcd455870: Ubuntu 26.04 in Docker on Windows, GCC 15, glibc 2.43, WSL2 kernel 6.6, Release, BUILD_TESTING=ON. The reviewer reports five passing guest_math runs (--repeat until-fail:5). Keeping this PR's test while restoring main's changed production sources makes the test fail on Linux as well. This supplies a Linux regression comparison in addition to the Windows evidence above; it is reviewer-supplied evidence for those revisions, not a local rerun or a latest-main claim.

  • NaN portability correction 2ab8da4a4d106aa1610ce67ea8b731dd368e60a0: Linux reproduced MarcZX10's exact reported two-NaN failure with Ubuntu GCC 12.4.0 at -O3: x=7fc00001 y=ffc00002 actual=ffc00002 expected=7fc00001 errno=1234. The corrected implementation and 43 special-value cases pass with GCC 12.4.0, host GCC 16.2.1 and Clang at -O0, -O2, and -O3 (nine focused builds/runs). These focused checks compile the exact production Math.cpp and the special-value function extracted from GuestMath.cpp; they are not full GCC 12 CMake builds. The isolated Release CMake build of this complete PR revision passes the full guest_math CTest three times with GCC 16.2.1, without skips. A separate 176-case NaN matrix passes under GCC 16 and Clang, checking result bits, unchanged errno, signaling invalid exceptions, and preservation of an existing divide-by-zero flag. No fresh Windows result is claimed for this correction; rerun requested.

  • Not tested: macOS, a console, console floating-point exception flags, or Windows on the NaN portability correction.

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 throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source: none; the msun function is rewritten, as #9668, #5036 and the sinhf entry did
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

AI-assisted (Claude Code).

Current-main integration, 2026-10-23

Refreshed head a3f26973058083f257d86731d0b01a692e7dd6f4 is the same three commits rebased onto main 16319642a4c84e861188b75583ce853dfbe0a101; range-diff marks all three unchanged. check_main_sync.py reports 3 ahead / 0 behind and merge clean. The full Release guest_math_tests build and three consecutive guest_math CTest runs pass with GCC 16.2.1 on Linux, with no skips. Conventions and whitespace checks pass. Earlier compiler-specific special-value results are preserved above; the fresh full integration run is GCC 16. Windows rerun on this refreshed head is pending.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4971956566 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9850). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-22T18:08:47Z. --- ### What `powf` returned the host's `pow`, apart from returning 1 for base 1 (#3602), so its last bit and its `errno` depended on the host. On Windows (UCRT) the bits differ from the `libc.prx` that titles ship on 3,171,678 of the 100,001,089 argument pairs I compared. Examples, console then `main`: - `powf(0x3f9e2cf9, 0xbf5a98dc)` → `0x3f55ab48`; - `powf(0x3fad4946, 0x40c1ad7a)` → `0x40c82840`. The titles' `powf` (NID `1D0H2KNjshE`) is FreeBSD msun's [`e_powf.c` as of release/9.0.0](https://github.com/freebsd/freebsd-src/blob/release/9.0.0/lib/msun/src/e_powf.c) (identified by @harisibrar1). Its arithmetic is the same as 11.4's, but it differs in two special cases: - A NaN argument returns its quieted payload; there is no "`1**y` is 1 even for NaN" shortcut. So `powf(1, NaN)` is that NaN (`powf(1, 0x7f800001)` = `0x7fc00001`), not 1. - `(±1)**±inf` returns `y - y`, the default NaN `0xffc00000`, not 1. - With two NaN arguments, the first one's NaN is returned, quieted (`powf(0x7fc00001, 0xffc00002)` = `0x7fc00001`). 9.0.0 writes this as `(x+0.0F)+(y+0.0F)`. The implementation explicitly selects the first NaN and sets its quiet bit: C++ `x + y` does not guarantee which payload survives, and GCC 12 selected the second payload in review. A signaling operand raises `FE_INVALID`, preserving the prior arithmetic behavior on the tested Linux hosts; zero exponents still return 1 before this path. Console exception flags remain unverified. With msun 11.4's two special cases, the port differs from the titles on exactly those 8 cases of the special grid, plus 284 NaN-pair payloads. With the older rules it matches every pair. So this reverses #3602's `powf(1, y) == 1` for NaN `y`, which followed the current msun source rather than a title's copy, and updates `CheckPowfSpecialValue` to the titles' results. **`errno`:** msun sets none, but the titles' copy sets: - `EDOM` in the two `(x - x) / (x - x)` branches: a negative finite base with a non-integer exponent, `-1` included; - `ERANGE` only in the final overflow and underflow returns. The `|y| > 2^27` shortcut returns infinity or zero without `errno`, for example `powf(2, 0x4e000000)`. So do the zero and infinity special cases. The port sets `errno` in exactly those branches. `powf` is imported by all 22 titles whose relinker registries I audited, for example PPSA01528, PPSA02630 and PPSA09614. ### Tested Historical Windows validation before the NaN portability correction below (not a Windows rerun of the new head): Windows 11 Enterprise 10.0.22621, Ryzen 9 5950X, WinLibs GCC 15.2.0 UCRT r7, Ninja, Release, `BUILD_TESTING=ON`, `main` a6646f8464. - **Sampled comparison:** a scratch loader runs the decrypted `libc.prx` of PPSA07923, PPSA05916 and PPSA13934 natively and supplies `__error`. It compared their `powf` with this build's `powf_nid_postfix` on 100,001,089 pairs: - every pair of 33 special values (signed zeros, ±1 and neighbours, the `2^24`/`2^27` integer limits, the overflow/underflow edges, infinities, quiet and signalling NaNs); - 20M uniformly random bit pairs; - 20M positive bases with moderate exponents; - 20M bases in `[0.5, 2)` with larger exponents; - 20M negative bases with integer exponents; - 20M bases within 8 ulp of 1 with huge exponents. PPSA07923 and PPSA05916 give the same bits and `errno` for every pair. PPSA13934 has the same `errno` everywhere, but its FMA-contracted build differs by 1 ulp on 26,405 pairs. Pairs outside the sample are unverified. - **`guest_math`:** The original `CheckPowfSpecialValue` had 33 cases with the console's results and `errno`: random pairs where UCRT differs, the `±1`/NaN/infinity cases above, square roots, a negative base with odd and non-integer exponents, zero bases with negative exponents, overflow and underflow on both sides of the edges, the `2^27` shortcut, infinite bases and three NaN/NaN pairs. `guest_math` and the libc tests (8) pass in three runs out of three. With `main`'s `Math.cpp` and this test, `guest_math` aborts in a `Require`. - `python tools/check_conventions.py --base origin/main` and `git diff --check` pass. - **Overlap:** the branch merges without conflicts with my other math PRs (#9771, #9777, #9784, #9839, #9841, #9844). `tools/pr_overlap.py` finds one adjacency in `docs/dev/debt/libc.md` with #8863 (the neighbouring `fegetenv` entry); keeping both entries resolves it. - **Independent Linux review:** [Dom3005's report](https://github.com/boykopovar/AnyPS5/pull/9850#issuecomment-6353485364) tested head `65e1d32b7` merged cleanly onto `main` `fcd455870`: Ubuntu 26.04 in Docker on Windows, GCC 15, glibc 2.43, WSL2 kernel 6.6, Release, `BUILD_TESTING=ON`. The reviewer reports five passing `guest_math` runs (`--repeat until-fail:5`). Keeping this PR's test while restoring main's changed production sources makes the test fail on Linux as well. This supplies a Linux regression comparison in addition to the Windows evidence above; it is reviewer-supplied evidence for those revisions, not a local rerun or a latest-main claim. - **NaN portability correction `2ab8da4a4d106aa1610ce67ea8b731dd368e60a0`:** Linux reproduced MarcZX10's exact reported two-NaN failure with Ubuntu GCC 12.4.0 at `-O3`: `x=7fc00001 y=ffc00002 actual=ffc00002 expected=7fc00001 errno=1234`. The corrected implementation and 43 special-value cases pass with GCC 12.4.0, host GCC 16.2.1 and Clang at `-O0`, `-O2`, and `-O3` (nine focused builds/runs). These focused checks compile the exact production `Math.cpp` and the special-value function extracted from `GuestMath.cpp`; they are not full GCC 12 CMake builds. The isolated Release CMake build of this complete PR revision passes the full `guest_math` CTest three times with GCC 16.2.1, without skips. A separate 176-case NaN matrix passes under GCC 16 and Clang, checking result bits, unchanged `errno`, signaling invalid exceptions, and preservation of an existing divide-by-zero flag. No fresh Windows result is claimed for this correction; rerun requested. - Not tested: macOS, a console, console floating-point exception flags, or Windows on the NaN portability correction. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source: none; the msun function is rewritten, as #9668, #5036 and the `sinhf` entry did - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes AI-assisted (Claude Code). ### Current-main integration, 2026-10-23 Refreshed head `a3f26973058083f257d86731d0b01a692e7dd6f4` is the same three commits rebased onto main `16319642a4c84e861188b75583ce853dfbe0a101`; range-diff marks all three unchanged. `check_main_sync.py` reports 3 ahead / 0 behind and merge clean. The full Release `guest_math_tests` build and three consecutive `guest_math` CTest runs pass with GCC 16.2.1 on Linux, with no skips. Conventions and whitespace checks pass. Earlier compiler-specific special-value results are preserved above; the fresh full integration run is GCC 16. Windows rerun on this refreshed head is pending.
harisibrar1 commented 2026-10-22 18:19:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by harisibrar1 on 2026-10-22T18:19:35Z.

Review: COMMENTED


Checked against main a6646f8464 and FreeBSD msun e_powf.c at release/11.4.0, 10.0.0, 9.0.0, 8.0.0 and 7.0.0:

  • The constants, the yisint logic, the |y| > 2^27 shortcut, the log2/exp2 cores and the overflow/underflow thresholds match msun line by line, and folding the else-if chain into two ifs is equivalent.
  • The "older form" is an actual FreeBSD revision: release/9.0.0 e_powf.c already has 11.4's cp_h/cp_l arithmetic, but no 1**y shortcut and y - y for (±1)**±inf. That matches this body, except that it returns (x+0.0F)+(y+0.0F) for NaN where this PR has x + y. 10.0.0 already has 11.4's special cases. Could the debt entry (and the body) link 9.0.0 instead of 11.4 "in its older form", as the sinhf and j0 entries pin their matching revision?
  • A small independent check: a JS (Math.fround) transcription of msun 9.0 powf reproduces all 23 non-NaN vectors in CheckPowfSpecialValue, and differs from 11.4 only on (±1, ±inf) and (1, NaN), both on a grid and on 3M random pairs. I couldn't run a native build here (Smart App Control blocked it), and NaN payloads weren't checked.
  • Nit: the new entry is under "Unknown function info", while the other msun ports (sinhf, atanhf, asinl) and your exp2f entry in #9844 are under "Functional".
  • Optional: none of the vectors has two NaN arguments, so the operand order of x + y (which payload wins) isn't covered. One NaN/NaN case would pin it.

Reviewed with AI assistance (Claude Code); the checks above were run locally on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5618869940 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9850#pullrequestreview-5618869940). Originally posted by [harisibrar1](https://github.com/harisibrar1) on 2026-10-22T18:19:35Z. **Review:** COMMENTED --- Checked against main a6646f8464 and FreeBSD msun e_powf.c at release/11.4.0, 10.0.0, 9.0.0, 8.0.0 and 7.0.0: - The constants, the yisint logic, the `|y| > 2^27` shortcut, the log2/exp2 cores and the overflow/underflow thresholds match msun line by line, and folding the else-if chain into two ifs is equivalent. - The "older form" is an actual FreeBSD revision: [release/9.0.0 e_powf.c](https://github.com/freebsd/freebsd-src/blob/release/9.0.0/lib/msun/src/e_powf.c) already has 11.4's `cp_h`/`cp_l` arithmetic, but no `1**y` shortcut and `y - y` for (±1)**±inf. That matches this body, except that it returns `(x+0.0F)+(y+0.0F)` for NaN where this PR has `x + y`. 10.0.0 already has 11.4's special cases. Could the debt entry (and the body) link 9.0.0 instead of 11.4 "in its older form", as the `sinhf` and `j0` entries pin their matching revision? - A small independent check: a JS (`Math.fround`) transcription of msun 9.0 `powf` reproduces all 23 non-NaN vectors in `CheckPowfSpecialValue`, and differs from 11.4 only on (±1, ±inf) and (1, NaN), both on a grid and on 3M random pairs. I couldn't run a native build here (Smart App Control blocked it), and NaN payloads weren't checked. - Nit: the new entry is under "Unknown function info", while the other msun ports (`sinhf`, `atanhf`, `asinl`) and your `exp2f` entry in #9844 are under "Functional". - Optional: none of the vectors has two NaN arguments, so the operand order of `x + y` (which payload wins) isn't covered. One NaN/NaN case would pin it. Reviewed with AI assistance (Claude Code); the checks above were run locally on my machine.
MarcZX10 commented 2026-10-23 03:49:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T03:49:21Z.

Review: CHANGES_REQUESTED


I locally built the exact PR Math.cpp and GuestMath.cpp and ran the isolated CheckPowfSpecialValue cases on Linux with GCC 12.2.0, Release (-O3). The check fails for the included two-NaN case:

x=0x7fc00001, y=0xffc00002
actual=0xffc00002, expected=0x7fc00001, errno=1234

The early NaN path returns x + y, whose NaN payload selection differs on this host/compiler from the first-NaN payload recorded for the console and asserted by the test. Since the implementation is shared across Linux and Windows, please make the payload behavior deterministic (including signaling-NaN cases as applicable), then rerun the focused guest_math test on Linux and Windows. The local build reused an older configured source snapshot, so this is a focused source/test result rather than a fresh full-tree build; the PR's math and test files are unchanged since its tested base.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5623660846 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9850#pullrequestreview-5623660846). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-23T03:49:21Z. **Review:** CHANGES_REQUESTED --- I locally built the exact PR `Math.cpp` and `GuestMath.cpp` and ran the isolated `CheckPowfSpecialValue` cases on Linux with GCC 12.2.0, Release (`-O3`). The check fails for the included two-NaN case: ```text x=0x7fc00001, y=0xffc00002 actual=0xffc00002, expected=0x7fc00001, errno=1234 ``` The early NaN path returns `x + y`, whose NaN payload selection differs on this host/compiler from the first-NaN payload recorded for the console and asserted by the test. Since the implementation is shared across Linux and Windows, please make the payload behavior deterministic (including signaling-NaN cases as applicable), then rerun the focused `guest_math` test on Linux and Windows. The local build reused an older configured source snapshot, so this is a focused source/test result rather than a fresh full-tree build; the PR's math and test files are unchanged since its tested base.
MarcZX10 commented 2026-10-23 05:24:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T05:24:43Z.

Review: COMMENTED


The new NaN handling resolves the reproducible payload mismatch: the exact head’s 43-case CheckPowfSpecialValue table passes in an isolated GCC 12.2 -O3 -fno-fast-math harness, and current-main conventions plus diff whitespace pass. I did not run the full guest_math executable. The remaining review item is current-main integration and a focused guest_math rerun on the resulting head; this is the documented branch-freshness requirement, not a queue-volume concern.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5624260395 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9850#pullrequestreview-5624260395). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-23T05:24:43Z. **Review:** COMMENTED --- The new NaN handling resolves the reproducible payload mismatch: the exact head’s 43-case `CheckPowfSpecialValue` table passes in an isolated GCC 12.2 `-O3 -fno-fast-math` harness, and current-main conventions plus diff whitespace pass. I did not run the full guest_math executable. The remaining review item is current-main integration and a focused guest_math rerun on the resulting head; this is the documented branch-freshness requirement, not a queue-volume concern.
MarcZX10 commented 2026-10-23 06:21:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T06:21:03Z.

Review: APPROVED


Reviewed exact current-main head f20fb10933aa421fcc3c163306c4ff8083eab886. The earlier GCC 12 two-NaN payload mismatch is fixed by explicit deterministic first-NaN selection/quieting; the current source and special-value table are the same three commits as the previously reviewed revision. The author rebased onto main 0db47b263, reports 3 ahead/0 behind with no conflicts, and reports fresh Windows 11 / WinLibs GCC 15.2 UCRT guest_math Release build plus three passing runs on this exact head. The identical patch passed Linux guest_math 3/3 on the immediately preceding main revision, with focused Linux GCC/Clang special-value coverage across optimization levels; this Linux result is not a rerun on the exact current-main head. Hosted eligibility, conventions, labels, report, relinker matrix, ASAN, register-context and write-watch checks pass; product Linux/Windows jobs are skipped by policy. I previously reran the 43-case special-value table in an isolated Linux GCC 12.2 -O3 harness; I did not run a full local build here. Approval is for this exact head and retains the documented limitation on console FP exception flags.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5624665595 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9850#pullrequestreview-5624665595). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-23T06:21:03Z. **Review:** APPROVED --- Reviewed exact current-main head `f20fb10933aa421fcc3c163306c4ff8083eab886`. The earlier GCC 12 two-NaN payload mismatch is fixed by explicit deterministic first-NaN selection/quieting; the current source and special-value table are the same three commits as the previously reviewed revision. The author rebased onto `main` `0db47b263`, reports 3 ahead/0 behind with no conflicts, and reports fresh Windows 11 / WinLibs GCC 15.2 UCRT `guest_math` Release build plus three passing runs on this exact head. The identical patch passed Linux `guest_math` 3/3 on the immediately preceding main revision, with focused Linux GCC/Clang special-value coverage across optimization levels; this Linux result is not a rerun on the exact current-main head. Hosted eligibility, conventions, labels, report, relinker matrix, ASAN, register-context and write-watch checks pass; product Linux/Windows jobs are skipped by policy. I previously reran the 43-case special-value table in an isolated Linux GCC 12.2 `-O3` harness; I did not run a full local build here. Approval is for this exact head and retains the documented limitation on console FP exception flags.
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!9850
No description provided.