Skip to content

add IBM f128 type - #162156

Draft
folkertdev wants to merge 8 commits into
rust-lang:mainfrom
folkertdev:ppcf128
Draft

add IBM f128 type#162156
folkertdev wants to merge 8 commits into
rust-lang:mainfrom
folkertdev:ppcf128

Conversation

@folkertdev

Copy link
Copy Markdown
Contributor

tracking issue: #161787

aka __ibm128, ppc_fp128, etc. Making this change without having settled on a final name is a bit awkward but hopefully we can get some rounds of review in anyway.

This should only merge after #160859 (so that I can deal with the merge conflicts).

I did hit that while rustc_apfloat has a DoubleDouble type, it does not implement FloatConvert (not even for conversions to itself), and its Float implementation uses Fallback, i.e. loses precision. LLVM has FIXMEs for this but clearly nobody has looked at this so far. So, a bunch of stuff for const eval / miri is stubbed out for now.

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-test-infra-minicore Area: `minicore` test auxiliary and `//@ add-core-stubs` PG-exploit-mitigations Project group: Exploit mitigations S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Sep 1, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added the T-clippy Relevant to the Clippy team. label Sep 2, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-bors

This comment has been minimized.

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

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-test-infra-minicore Area: `minicore` test auxiliary and `//@ add-core-stubs` PG-exploit-mitigations Project group: Exploit mitigations S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants