Skip to content

fix: preserve high-precision DECIMAL parameters - #7

Merged
skhe merged 1 commit into
mainfrom
codex/high-precision-decimal
Sep 26, 2026
Merged

skhe merged 1 commit into
mainfrom
codex/high-precision-decimal

Conversation

@skhe

@skhe skhe commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Changes

  • Parse DECIMAL parameters as exact base-10 digits instead of a default-precision binary float.
  • Reject values that exceed the decimal wire format rather than silently truncating.
  • Add real-DM regression cases for Decimal, text, negative, and exponent forms of DECIMAL(30,8).

Verification

  • Local official DM8 ARM64: 108 real-database tests passed on Python 3.10.
  • Focused DECIMAL cases: 4 passed on each of Python 3.9, 3.11, 3.12, and 3.13.
  • Go bridge build, go test, and git diff --check passed.

@skhe
skhe merged commit f4308f5 into main Sep 26, 2026
13 checks passed
@skhe
skhe deleted the codex/high-precision-decimal branch September 26, 2026 13:12
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