Skip to content

interp: Remove page assumption in SIN/COS constants - #127

Merged
dmsc merged 1 commit into
masterfrom
fix/bug-52-sincos
Oct 20, 2026
Merged

dmsc merged 1 commit into
masterfrom
fix/bug-52-sincos

Conversation

@dmsc

@dmsc dmsc commented Oct 20, 2026

Copy link
Copy Markdown
Owner

Load the high byte of fp_90 explicitly in degree mode instead of asserting that fp_pi1_2 and fp_90 are in the same page. The assert failed when unrelated runtime tokens changed the code layout.

Fixes #52

Load the high byte of fp_90 explicitly in degree mode instead of
asserting that fp_pi1_2 and fp_90 are in the same page. The assert
failed when unrelated runtime tokens changed the code layout.

Fixes #52

Aided by Opencode / DeepSeek V4.1 Flash 1017
@dmsc
dmsc merged commit 0383f48 into master Oct 20, 2026
6 checks passed
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.

Cross compiler sometimes fails to link floating-point SIN/COS constants

1 participant