Skip to content

Simplifying the split delta allocation computation#14

Merged
jmvalin merged 3 commits intomainfrom
jmvalin/theta_cleanup
Mar 10, 2026
Merged

Simplifying the split delta allocation computation#14
jmvalin merged 3 commits intomainfrom
jmvalin/theta_cleanup

Conversation

@jmvalin
Copy link
Copy Markdown
Contributor

@jmvalin jmvalin commented Feb 9, 2026

No description provided.

@jmvalin jmvalin requested a review from janpbuethe February 9, 2026 21:48
@jmvalin jmvalin self-assigned this Feb 9, 2026
@jmvalin jmvalin force-pushed the jmvalin/theta_cleanup branch from 226eb18 to c2ccc64 Compare February 17, 2026 22:50
@jmvalin jmvalin changed the base branch from oac-next to main February 18, 2026 18:21
Directly approximating log2(tan(x)) instead of going through the sin/cos
Further simplifies the split delta
@jmvalin jmvalin force-pushed the jmvalin/theta_cleanup branch from c2ccc64 to c664c9e Compare February 27, 2026 20:50
@phill-williams
Copy link
Copy Markdown

Looks cleaner, makes sense to me. It is a bit exact change, right?

@jmvalin
Copy link
Copy Markdown
Contributor Author

jmvalin commented Mar 10, 2026

The code is equivalent, but not bitexact. Both versions are computing log2(tan(x)), but the approximations differ slightly.

@phill-williams phill-williams self-requested a review March 10, 2026 19:45
@jmvalin jmvalin merged commit c664c9e into main Mar 10, 2026
129 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.

2 participants