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

Provide a proper fenv implementation #114

Closed
erikdesjardins opened this issue Jul 15, 2018 · 3 comments
Closed

Provide a proper fenv implementation #114

erikdesjardins opened this issue Jul 15, 2018 · 3 comments

Comments

@erikdesjardins
Copy link
Contributor

See #106 (comment)

src/math/fenv.rs currently contains a dummy implementation of feraiseexcept, fegetround and friends. It should be properly implemented.

@erikdesjardins
Copy link
Contributor Author

erikdesjardins commented Jul 15, 2018

Aside: I feel like these tricks from fma ought to be able to replace some of the fenv usage in fmaf, but I don't understand the subtleties.

@hanna-kruppe
Copy link
Contributor

Floating point environment access is currently not supported by LLVM (see e.g. https://lists.llvm.org/pipermail/llvm-dev/2018-May/123529.html) so it won't be possible to provide fenv access in any code that is compiled by LLVM. (This affects the musl C code too if it's compiled by Clang.)

@tgross35
Copy link
Contributor

I am going to close this in favor of a more meta discussion at #480.

@tgross35 tgross35 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 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

No branches or pull requests

3 participants