Skip to content

docs(plan): Round is half to even since v0.43.0 - #124

Merged
tannevaled merged 1 commit into
mainfrom
docs/plan-round-half-even
Nov 15, 2026
Merged

tannevaled merged 1 commit into
mainfrom
docs/plan-round-half-even

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

docs/plan-ndarray.md still described Round as math.Round (half away from zero), and said Floor/Ceil/Round/Square run through the Map seam. Both stopped being true in v0.43.0 (#123):

  • Round rounds halves to even, as np.round;
  • RoundHalfAway keeps the older rule;
  • float64 Abs/Neg/Square/Floor/Ceil/Round run on go-simd/floats vector kernels.

The docs site mirrors this file, so the stale sentence was being republished (found while preparing go-ndarray/docs#75). Docs only; this will be released as v0.43.1 so the mirror can cite a tag.

Refs #123, Refs go-ndarray/docs#75

🤖 Generated with Claude Code

docs/plan-ndarray.md still said Round is math.Round (half away from
zero) and that Floor/Ceil/Round/Square go through the Map seam. Since
v0.43.0 (#123) Round rounds halves to even, as
np.round, RoundHalfAway keeps the older rule, and the float64 forms of
Abs/Neg/Square/Floor/Ceil/Round run on go-simd/floats kernels. The docs
site mirrors this file, so the stale sentence was being republished.

Refs #123

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit a113a2d into main Nov 15, 2026
13 checks passed
@tannevaled
tannevaled deleted the docs/plan-round-half-even branch November 15, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant