Skip to content

Return overflow sentinel in LongLiteral.to(FloatType)#3502

Open
ebyhr wants to merge 1 commit into
apache:mainfrom
ebyhr:ebi/long-literal-overflow
Open

Return overflow sentinel in LongLiteral.to(FloatType)#3502
ebyhr wants to merge 1 commit into
apache:mainfrom
ebyhr:ebi/long-literal-overflow

Conversation

@ebyhr

@ebyhr ebyhr commented Jun 14, 2026

Copy link
Copy Markdown
Member

Rationale for this change

Are these changes tested?

Yes, added assertions fail if we revert this PR's change.

Are there any user-facing changes?

Yes, users receive an overflow sentinel instead of OverflowError.

@ebyhr ebyhr force-pushed the ebi/long-literal-overflow branch from 3ec4fac to 52fd6e3 Compare June 14, 2026 01:11
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.

LongLiteral.to(FloatType) raises OverflowError instead of returning overflow sentinel

1 participant