Skip to content

[VFDLIBM] Prepare the 0.2.0 release - #129

Merged
MaxGekk merged 1 commit into
mainfrom
release-0.2.0
Nov 22, 2026
Merged

MaxGekk merged 1 commit into
mainfrom
release-0.2.0

Conversation

@MaxGekk

@MaxGekk MaxGekk commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Do not merge until the full-slice nightly dispatch of sinh, cosh, asin, atan, acos and atan2 is clean: the owner merges this, then runs dev/release.sh 0.2.0.

What changes were proposed in this pull request?

Prepares release 0.2.0: sinh, cosh, asin, atan, acos and atan2, joining the five functions of 0.1.0. It follows AGENTS.md, "Releases", step 1.

  • CHANGELOG.md: the Unreleased lines move under ## [0.2.0] - 2026-11-22, Unreleased stays empty, and the [0.2.0]: link line is added with [Unreleased]: comparing v0.2.0...HEAD. Each of the six functions has its "Added" line, and the two "Changed" lines read true as they stand; no line was changed.
  • README.md: the status paragraph and "Released in 0.2.0:" name all eleven functions, "On main, unreleased: ..." goes, and the two sentences that said atan2's two-NaN lane was unreleased or that no released function has one now say it is in 0.2.0. "Supported JDKs" says 0.2.x.
  • AGENTS.md and PLAN.md: "0.1.x supports JDK 25 only" and "Java 25 only for 0.1.x" say 0.2.x. History sentences are untouched, and no other present-tense "0.1.x" remains.

Not touched: pom.xml (its version, project.build.outputTimestamp, <scm><tag>), any tag, the client example's <version> and every fenced block of "Use".

Why are the changes needed?

The six functions are on main and listed under Unreleased; dev/release.sh needs a ## [0.2.0] section and a [0.2.0]: link line.

Does this PR introduce any user-facing change?

The changelog and README name the 0.2.0 release; no code changes. Notes for the owner:

  • The date is a guess: dev/release.sh rewrites the heading's date to the day it runs.
  • AGENTS.md says adding a function is a patch and a minor version may break the API; 0.2.0 adds functions only and has no **Breaking:** line. The pom is at 0.1.1-SNAPSHOT; the script sets the version from any -SNAPSHOT.
  • The client example in the README keeps 0.1.0. A follow-up PR after the release is on Central bumps it to 0.2.0; the weekly readme-check then covers 0.2.0.
  • Nothing in this PR is a performance claim.

How was this patch tested?

dev/release.sh --self-test passes. dev/release.sh --check 0.2.0 refuses on this branch ("not on main"), since the script requires a clean main at origin/main; it was not forced. Its other preconditions hold here: the ## [0.2.0] section, the [0.2.0]: link line and a -SNAPSHOT pom. CI runs on this branch as for any PR.

The release's evidence, as facts only: the full-slice nightly dispatch of the six functions and the scheduled night are pending, and no timing exists for the six functions.

Was this patch authored or co-authored using generative AI tooling?

Yes, Claude Code.

Generated-by: Claude Code (Sonnet 5.5)

Generated-by: Claude Code (Sonnet 5.5)
MaxGekk added a commit that referenced this pull request Nov 21, 2026
…130)

### What changes were proposed in this pull request?

Part of #30. Requotes sentences of `SKILLS.md`, `PLAN.md` and the Javadocs of `Exp`, `Expm1`, `Log10`, `Log1p` and `VFdlibm` from the committed files of 21 November. Comments and documents only; no code and no results file changes.

- The `SPECIES_MAX` finish change (#100) is no longer described as free. The docs now state what the pair files read on the EPYC 7763 (base `f2907e5`; head `1cec059` in the first run, `5a452fa` in the re-run): exp's two mixed finish rows 7.4% to 9.3% slower by median and 8.3% to 8.9% by best, log10's 2.6% to 4.0% by median and 3.7% to 4.1% by best, all under the pair's 10% threshold, and the `*Max` rows on mixed data faster. They say the cause is not known and that no AVX-512 host and no other port was paired. "No run has timed today's `exp`" now excepts the pair's rows.
- The stale EPYC sentences listed in #116: the guarded-over-finish ratio of 1.13 to 1.15 in `Expm1.java` and `SKILLS.md` now sits beside the 21 November file's 1.02 on common data and 1.07 to 1.08 on mixed data, scoped as one run that no pair backs. The two "no run has timed `expm1Core`" sentences now say that file is the only one with core rows.
- `Log1p.java` no longer says the fault-constant branch "folds away" as a fact: it is expected to, and no pair has shown it.

### Why are the changes needed?

The pair and its re-run read the finish change as a cost on exp and log10, and the 21 November EPYC files contradict two "no run has timed `expm1Core`" sentences.

### Does this PR introduce _any_ user-facing change?

No. Javadoc comments and documents only.

### How was this patch tested?

The changed Java sources compile with `javac`. Every figure was read from the committed files named in the text. `CHANGELOG.md`, `README.md`, `AGENTS.md` and the JDK lines of `PLAN.md` are not touched, so #129 can land first.

For the owner, not changed here:
- `CHANGELOG.md`'s "Changed" line on the eight-lane finish quotes only the allocation gain; it could carry the pair's reading (it is #129's file).
- `Log.java`, `Expm1.java`, `Sinh.java`, `Cosh.java` and the `log`, `log1p` entries of `SKILLS.md` carry no pointer to the pair; the pair covered only exp and log10.
- `Exp.java` and `PLAN.md` still quote the EPYC runs of 20 November for exp, not the 21 November file (2.05 and 2.12 on common data, 1.53 on mixed).
- The first pair run timed `Log10.java` at a different source than the re-run (head `1cec059`, a branch tip); the log10 range combines both runs.
- Sentences in `bench/results/` that say the fault constant "folds away" without a qualifier (the Xeon files of 21 November, the three EPYC files of 20 November). No document repeated them unqualified but `Log1p.java`'s.
- The two nits of #128's results file could not be found: no comment or review on #128 holds them.
- The 21 November EPYC files time the finish before #100, so their ratios compare the old finish.

### Was this patch authored or co-authored using generative AI tooling?

Yes, Claude Code.

Generated-by: Claude Code (Sonnet 5.5)
@MaxGekk
MaxGekk merged commit 82cfbd7 into main Nov 22, 2026
14 checks passed
MaxGekk added a commit that referenced this pull request Nov 22, 2026
### What changes were proposed in this pull request?

The README's client example depends on `io.github.vecbricks:vfdlibm` 0.2.0 instead of 0.1.0.
The release PR (#129) left it at 0.1.0 on purpose, since the weekly `dev/readme-check.sh` runs the example against Central and 0.2.0 was not there yet.

### Why are the changes needed?

0.2.0 is on Central, and the example is what a new client copies.
The weekly check resolves the latest release, so the example should name it.

### Does this PR introduce _any_ user-facing change?

No. Documentation only: the example's version number moves.

### How was this patch tested?

`dev/readme-check.sh` with Maven 3.9.16: "the latest release on Central is 0.2.0" and "passed against vfdlibm 0.2.0".
Its first run failed on a `PluginResolutionException` and a re-run passed, so the failure looked transient.
I did not investigate it, and no other test applies to a one-line version change.

Generated-by: Claude Code (Sonnet 5.5)
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