Skip to content

Fix n-ary float-complex +/- to not over-eagerly switch to unsafe ops - #1509

Open
samth wants to merge 1 commit into
racket:masterfrom
samth:fix-float-complex-n-ary-overflow
Open

Fix n-ary float-complex +/- to not over-eagerly switch to unsafe ops#1509
samth wants to merge 1 commit into
racket:masterfrom
samth:fix-float-complex-n-ary-overflow

Conversation

@samth

@samth samth commented May 16, 2026

Copy link
Copy Markdown
Member

Superseded by the tr868-float-complex-fixes branch, which rebases this fix onto current master and additionally preserves exact/signed-zero complex parts in float-complex +/- (addresses #868). A replacement PR will close this one.


The code assumed that just switching to safe ops once was sufficient,
but things can be trickier than that.

Found by:
https://drdr.racket-lang.org/72865/cs/racket/share/pkgs/typed-racket-test/external/tr-random-testing.rkt

The code assumed that just switching to safe ops once was sufficient,
but things can be trickier than that.

Found by:
https://drdr.racket-lang.org/72865/cs/racket/share/pkgs/typed-racket-test/external/tr-random-testing.rkt

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resyntax analyzed 2 files in this pull request and found no issues.

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.

1 participant