Repository navigation
ocean_sea_test: built without FMA contraction, as cvc::ocean is - #1146
Merged
Merged
Conversation
OceanSea.IsTheSameOnEveryPlatform (#1142) fails on both macOS arm64 recipe lanes (digest 0x1966448ffbcd6035, not 0x21bcce29d45653a8); #1142 merged with its macOS lanes cancelled, so this is the first time they ran it. cvc::ocean's sources are built with -ffp-contract=off, but the test computes the sea's sample points itself (x = 5.0 + 2.6 * i, y = 0.5 + 0.13 * i), and clang contracts those into FMAs on aarch64. With one rounding instead of two, x differs at i = 23 and y at i = 29 and 58, so the sea is sampled elsewhere and the digest moves. x86_64 Linux and MSVC do not contract here, so they agree with the Windows value. Build ocean_sea_test.cpp with -ffp-contract=off (/fp:precise on MSVC), as nav_potential_test and the dyn plant tests are for the same reason.
transfix
added a commit
that referenced
this pull request
Nov 11, 2026
Picks up #1146, which builds ocean_sea_test without FMA contraction: OceanSea.IsTheSameOnEveryPlatform failed every macOS job here, as it did on master.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OceanSea.IsTheSameOnEveryPlatform(from #1142) fails on both macOS arm64 recipe lanes: the digest is0x1966448ffbcd6035, not0x21bcce29d45653a8. #1142 merged with its macOS lanes cancelled (--autostops at the five required checks), so the lanes first ran it on the next PR, transfix/libcvc#925. Every PR's macOS recipe lanes are red until this lands.Cause: cvc::ocean's sources are built with
-ffp-contract=off, but the test computes the sea's sample points itself (x = 5.0 + 2.6 * i,y = 0.5 + 0.13 * i). Clang contracts those into FMAs on aarch64, which round once instead of twice. Computed exactly, x differs at i = 23 and y at i = 29 and 58, so the sea is sampled at other points and the digest moves. Linux x86_64 and MSVC don't contract here, which is why they agree with the value measured on Windows.Fix: build
ocean_sea_test.cppwith-ffp-contract=off(/fp:preciseon MSVC), asnav_potential_testand the dyn plant tests already are, for the same reason.Not checked on arm64 here: the macOS recipe lanes on this PR are the check.