Skip to content

fix: define truncating remainder semantics in WDL 1.0 - #789

Open
claymcleod wants to merge 2 commits into
wdl-1.0from
fix/remainder-semantics-wdl-1.0
Open

fix: define truncating remainder semantics in WDL 1.0#789
claymcleod wants to merge 2 commits into
wdl-1.0from
fix/remainder-semantics-wdl-1.0

Conversation

@claymcleod

Copy link
Copy Markdown
Collaborator

Defined WDL 1.0 % as the remainder produced by truncating the exact quotient toward zero, including its behavior for negative operands and zero divisors. This resolved the ambiguity reported in #682 at the earliest affected WDL minor version.

The equivalent clarification still needs to be applied to the wdl-1.1, wdl-1.2, wdl-1.3, and wdl-1.4 branches. This PR therefore references rather than closes #682 so the issue remains open until the later versions are updated.

Checklist

  • Pull request details were added to CHANGELOG.md

@claymcleod
claymcleod requested a review from a team July 16, 2026 18:24
@claymcleod claymcleod self-assigned this Jul 16, 2026
@claymcleod claymcleod added S05-in-progress (State) A task that is in progress. K-clarification (Kind) Clarifications regarding the WDL specification. T-lang (Topic) Issues related to the syntax and semantic of the language itself. Z-specification-change (Metadata) An issue or PR related to a specification change. labels Jul 16, 2026
@claymcleod claymcleod added this to the 1.4 milestone Jul 16, 2026
@claymcleod claymcleod added S06-voting-active (State) Changes for which voting is active. and removed S05-in-progress (State) A task that is in progress. labels Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

K-clarification (Kind) Clarifications regarding the WDL specification. S06-voting-active (State) Changes for which voting is active. T-lang (Topic) Issues related to the syntax and semantic of the language itself. Z-specification-change (Metadata) An issue or PR related to a specification change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant