Skip to content

Make Random3 seed table values explicitly signed - #99

Merged
ZivDero merged 1 commit into
OpenTS-Developers:mainfrom
Belonit:make-Random3-seed-table-values-explicitly-signed
Aug 31, 2026
Merged

Make Random3 seed table values explicitly signed#99
ZivDero merged 1 commit into
OpenTS-Developers:mainfrom
Belonit:make-Random3-seed-table-values-explicitly-signed

Conversation

@Belonit

@Belonit Belonit commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

The tables store signed 32-bit values, but entries above INT_MAX used unsigned hexadecimal literals and relied on compiler-specific narrowing. Express them as equivalent negative values while preserving every 32-bit bit pattern.

Required for #80

The tables store signed 32-bit values, but entries above INT_MAX used unsigned hexadecimal literals and relied on compiler-specific narrowing.
Express them as equivalent negative values while preserving every 32-bit bit pattern.
@github-actions

Copy link
Copy Markdown

Development builds of d24ad98:

The links work without a GitHub account. Artifacts expire after 90 days, and this comment follows the latest successful build.

@ZivDero
ZivDero merged commit fbcf9cf into OpenTS-Developers:main Aug 31, 2026
4 of 5 checks passed
mischa85 pushed a commit to mischa85/OpenTS that referenced this pull request Aug 31, 2026
The tables store signed 32-bit values, but entries above INT_MAX used unsigned hexadecimal literals and relied on compiler-specific narrowing.
Express them as equivalent negative values while preserving every 32-bit bit pattern.
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.

2 participants