diff options
| author | Cliff Click <cliffc@acm.org> | 2026-11-16 08:56:51 -0800 |
|---|---|---|
| committer | Cliff Click <cliffc@acm.org> | 2026-11-16 08:56:51 -0800 |
| commit | 6643e8fda31a81ec40f33caa5c866b821fd04910 (patch) | |
| tree | ffe70b3f78431f3481a508f896a428b08b4e09e0 /chapter31/src/test/java/com | |
| parent | ec270802f05b93eccffa2e0fbfb9bd5dd63c9cb2 (diff) | |
| download | Simple-6643e8fda31a81ec40f33caa5c866b821fd04910.tar.gz Simple-6643e8fda31a81ec40f33caa5c866b821fd04910.zip | |
CI fix
Diffstat (limited to 'chapter31/src/test/java/com')
| -rw-r--r-- | chapter31/src/test/java/com/seaofnodes/simple/Chapter21Test.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter31/src/test/java/com/seaofnodes/simple/Chapter21Test.java b/chapter31/src/test/java/com/seaofnodes/simple/Chapter21Test.java index 14a091ac..347f2ce4 100644 --- a/chapter31/src/test/java/com/seaofnodes/simple/Chapter21Test.java +++ b/chapter31/src/test/java/com/seaofnodes/simple/Chapter21Test.java @@ -472,7 +472,8 @@ val test_sqrt = { flt x -> } }; """; - TestC.runC(src, "newtonFloat", result, TestC.CALL_CONVENTION.equals("win64") ? 42 : 34); + // With the zero-input guard, both SystemV and win64 score 42. + TestC.runC(src, "newtonFloat", result, 42); EvalRisc5 R5 = TestRisc5.build( src, "test_sqrt", 0, 10, false); R5.fregs[riscv.FA0 - riscv.F_OFFSET] = 3.0; |
