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

Draft implementation of real(16), imag(16), complex(32) #27010

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

bradcray
Copy link
Member

@bradcray bradcray commented Mar 28, 2025

TODO:

  • will probably need to support the ability to build on a system that doesn't support _Float16 (like our CI's compiler, apparently)

Sufficient to compile

```chapel
var pi16: real(16) = 3.14159265;

writeln(pi16);
```

using the C back-end

---
Signed-off-by: Brad Chamberlain <[email protected]>
It seems lack of these broke some tests... maybe we do some automatic
conversions between enums s.t. missing the corresponding COMPLEX enums
broke things?

---
Signed-off-by: Brad Chamberlain <[email protected]>
---
Signed-off-by: Brad Chamberlain <[email protected]>
Also add --ignore-errors for pass to the *-1.chpl version since only
locking in the first error makes it equivalent to the *-2.chpl version
matching its .bad file.

---
Signed-off-by: Brad Chamberlain <[email protected]>
@bradcray bradcray changed the title Float16 Draft implementation of real(16), imag(16), complex(32) Mar 28, 2025
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