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

Expose floating point environment and handle fp exceptions #1379

Closed
boggle opened this issue Dec 23, 2011 · 5 comments
Closed

Expose floating point environment and handle fp exceptions #1379

boggle opened this issue Dec 23, 2011 · 5 comments
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@boggle
Copy link
Contributor

boggle commented Dec 23, 2011

libmath provides a rich interface to deal with numerical exceptions, rounding modes, and the like.

We need to figure, if and how much of it we want to (e.g. as a resource that clears on destruction)

Useful references and any comments on this very welcome

Additionally:

  • decide if and when to fail in the presence of unhandled floating point exceptions
  • verify sane concurrency behavior
  • beyond complex numbers that is the last part of libmath that needs wrapping
@catamorphism
Copy link
Contributor

Not a backwards-compatibility thing. Nominating for milestone 3, feature-complete.

@graydon
Copy link
Contributor

graydon commented May 30, 2013

accepted for feature-complete milestone

@bblum
Copy link
Contributor

bblum commented Jul 26, 2013

Does libmath use global state for tracking anything?

@catamorphism
Copy link
Contributor

Not 1.0

@thestinger
Copy link
Contributor

Closing in favour of #10186.

bjorn3 added a commit to bjorn3/rust that referenced this issue Oct 24, 2023
celinval added a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
We currently skip code generation of a few functions like
ArgumentV1::as_usize(). We generate an unsuppported check instead.
However, we still need to declare the parameters otherwise we end up
with invalid symbol tables where the parameters are missing.

Fixes rust-lang#1379
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

No branches or pull requests

5 participants