Skip to content

use core fallbacks for more f16/f128 operations#910

Merged
antoyo merged 1 commit into
rust-lang:masterfrom
folkertdev:use-float-fallbacks
Jul 16, 2026
Merged

use core fallbacks for more f16/f128 operations#910
antoyo merged 1 commit into
rust-lang:masterfrom
folkertdev:use-float-fallbacks

Conversation

@folkertdev

Copy link
Copy Markdown
Contributor

This PR removes some explicit handling of functions that since rust-lang/rust#150946 have a fallback via libm.

We plan to do this for more operations (especially for f16, where possible for f128) to be able to remove custom logic from the backends.

Comment thread src/intrinsic/mod.rs
@folkertdev
folkertdev force-pushed the use-float-fallbacks branch from d4c83de to c24a53f Compare July 16, 2026 18:05
@folkertdev
folkertdev force-pushed the use-float-fallbacks branch from c24a53f to 75f5d18 Compare July 16, 2026 18:08
@antoyo
antoyo merged commit 3aeb91f into rust-lang:master Jul 16, 2026
40 checks passed
@antoyo

antoyo commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Nice improvement!
Thanks for your contribution!

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