Skip to content

0.150.2: a world file keeps a file whose integer no double holds as written - #54

Merged
tmoosting merged 1 commit into
mainfrom
unheld-integer-travels
Nov 25, 2026
Merged

tmoosting merged 1 commit into
mainfrom
unheld-integer-travels

Conversation

@tmoosting

Copy link
Copy Markdown
Member

A file holding an integer no double holds (9007199254740993), or one too large for a double, now travels byte for byte when a world file leaves the author fields out, its author fields with it, so both packages give one answer. An integer past 2**53 that a double holds exactly is rewritten as before. The shared author-fields fixture gains case 8.

🤖 Generated with Claude Code

…ritten

world_file_bytes rewrote such a file exact when it left the author fields out,
while the npm SDK rewrote it rounded (9007199254740993 as ...992): one input,
two answers. A file holding an integer no double holds, or one too large for
a double at all, now travels byte for byte, the five with it; one past 2**53
that a double holds exactly is rewritten as before. The shared author-fields
fixture gains case 8, the same bytes as the SDK's. Watched failing: case 8
red without the check; the whole suite 2435 passed, 45 skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tmoosting
tmoosting merged commit 6000130 into main Nov 25, 2026
11 checks passed
@tmoosting
tmoosting deleted the unheld-integer-travels branch November 25, 2026 00:39

This branch was previously deployed

1 inactive deployment
pypi — 60001305 Deployed Nov 25, 2026 by tmoosting via publish #241
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