Skip to content
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

Consider porting APFloat support for Power ISA's long double #6

Open
alexrp opened this issue Jul 9, 2024 · 0 comments
Open

Consider porting APFloat support for Power ISA's long double #6

alexrp opened this issue Jul 9, 2024 · 0 comments
Labels
area: c Issues related to the C API. area: numerics Issues related to the core numerics code. area: tests Issues related to the test suite. state: deliberation Issues that require design work and/or discussion.
Milestone

Comments

@alexrp
Copy link
Member

alexrp commented Jul 9, 2024

Background: https://gcc.gnu.org/wiki/Ieee128PowerPC#Background

I do not intend to port this code from LLVM initially. It is known to be wrong in many cases, and I think misleading people into thinking that it's supported correctly is bad. It's notable that GCC just refuses to constant-fold long doubles in this format (breaking with the C standard), while Clang will do it but silently get wrong results. Neither is great, but I think GCC gets it more right than Clang.

Leaving this issue open mainly to gauge interest in this (incomplete) support.

@alexrp alexrp added area: tests Issues related to the test suite. area: numerics Issues related to the core numerics code. area: c Issues related to the C API. state: deliberation Issues that require design work and/or discussion. type: feature labels Jul 9, 2024
@alexrp alexrp added this to the Future milestone Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: c Issues related to the C API. area: numerics Issues related to the core numerics code. area: tests Issues related to the test suite. state: deliberation Issues that require design work and/or discussion.
Projects
None yet
Development

No branches or pull requests

1 participant