Skip to content

Refresh tnumber ln/exp/log expected output for MEOS turning points#138

Closed
estebanzimanyi wants to merge 1 commit into
fix/meos-per-thread-initfrom
fix/tnumber-math-turnpt-expected
Closed

Refresh tnumber ln/exp/log expected output for MEOS turning points#138
estebanzimanyi wants to merge 1 commit into
fix/meos-per-thread-initfrom
fix/tnumber-math-turnpt-expected

Conversation

@estebanzimanyi
Copy link
Copy Markdown
Member

The MEOS uplift adds tfloat_ln_turnpt / tfloat_exp_turnpt (MobilityDB #1003), which insert one chord-error-minimising turning point on a linear input segment for the transcendental unary lifts, so ln/log10/exp over a two-instant tfloat now return three instants. This refreshes the 026b expectations to the new values (captured from the built extension); deltaValue, trend and the arithmetic-alias cases are linear and unchanged. With this on top of the per-thread MEOS init fix the amd64 suite is fully green (59/59 files locally and the previously failing assertion now passes).

@estebanzimanyi
Copy link
Copy Markdown
Member Author

Reviewer's quickstart — ~2 minutes

What this PR does: Refresh tnumber ln/exp/log expected output for MEOS turning points.

Files to read: test/sql/parity/026b_tnumber_mathfuncs_followups.test (plus minimal surrounding context).

Risk: narrow scope; the diff is small and self-contained. Stacked on its base PR — once the stack ahead of it lands, this rebases trivially.

Cross-link: Linux arm64 CI needs #161 for the MeosType build error (orthogonal to this PR's content).

…pected

The tfloat ln/exp/log10 lifts insert one chord-error turning point on a linear
segment; the MEOS pin computes it in double so the inserted instant is identical
on every platform, and the 026b expected carries the three-instant result.
@estebanzimanyi estebanzimanyi force-pushed the fix/tnumber-math-turnpt-expected branch from 42b75df to a465ddd Compare May 30, 2026 06:29
@estebanzimanyi estebanzimanyi force-pushed the fix/meos-per-thread-init branch from 6900085 to 7b85d06 Compare May 30, 2026 06:29
@estebanzimanyi
Copy link
Copy Markdown
Member Author

Folded into #134: the MEOS pin bump and the changes that keep CI green (graceful icu degradation + stage_icu, per-thread MEOS init, deterministic ln/exp/log10, macOS int64 forwarder, wasm pg_config) are jointly required for the extension to build, load, and pass — they ship as one foundation PR.

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