Skip to content

add a feature-gated f128 type #13381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thestinger opened this issue Apr 7, 2014 · 0 comments · Fixed by #13415
Closed

add a feature-gated f128 type #13381

thestinger opened this issue Apr 7, 2014 · 0 comments · Fixed by #13415
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@thestinger
Copy link
Contributor

The compiler-rt library is fleshing out software support for this, so it would be nice if Rust exposed it as a type. It should be feature gated until the software implementation is complete since architectures with hardware support are still rare.

https://en.wikipedia.org/wiki/Quadruple-precision_floating-point_format

@thestinger thestinger self-assigned this Apr 7, 2014
bors added a commit that referenced this issue Apr 23, 2014
This currently requires linking against a library like libquadmath (or
libgcc), because compiler-rt barely has any support for this and most
hardware does not yet have 128-bit precision floating point. For this
reason, it's currently hidden behind a feature gate.

When compiler-rt is updated to trunk, some tests can be added for
constant evaluation since there will be support for the comparison
operators.

Closes #13381
@thestinger thestinger removed their assignment Jun 16, 2014
bors pushed a commit to rust-lang-ci/rust that referenced this issue Sep 24, 2024
bors added a commit to rust-lang-ci/rust that referenced this issue Sep 24, 2024
[`missing_panics_doc`] Fix rust-lang#13381

Fix rust-lang#13381

Makes `missing_panics_doc` act like other "panicking" lints (`unwrap_used`, `panic`, etc) in constant environments.

changelog: Ignore `missing_panics_doc` in constant environments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant