From 6643e8fda31a81ec40f33caa5c866b821fd04910 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Mon, 16 Nov 2026 08:56:51 -0800 Subject: CI fix --- chapter32/src/test/java/com/seaofnodes/simple/Chapter21Test.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chapter32/src') diff --git a/chapter32/src/test/java/com/seaofnodes/simple/Chapter21Test.java b/chapter32/src/test/java/com/seaofnodes/simple/Chapter21Test.java index 14a091ac..347f2ce4 100644 --- a/chapter32/src/test/java/com/seaofnodes/simple/Chapter21Test.java +++ b/chapter32/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; -- cgit v1.2.3