Skip to content

Remove redundant abs calls from Calendar.ISO - #15675

Merged
josevalim merged 1 commit into
elixir-lang:mainfrom
preciz:optimize-calendar-sign-invariants
Jul 25, 2026
Merged

Remove redundant abs calls from Calendar.ISO#15675
josevalim merged 1 commit into
elixir-lang:mainfrom
preciz:optimize-calendar-sign-invariants

Conversation

@preciz

@preciz preciz commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Assisted-by: Codex CLI:GPT-5.6 Sol

The BCE guards establish the sign of both calculations, so compute their positive magnitudes directly.

The BCE guards establish the sign of both calculations, so compute their positive magnitudes directly.

Assisted-by: Codex:GPT-5
@josevalim
josevalim merged commit 4e61690 into elixir-lang:main Jul 25, 2026
15 checks passed
@josevalim

Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants