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

caller access to exception flags #11

Open
stevengj opened this issue Apr 29, 2015 · 1 comment
Open

caller access to exception flags #11

stevengj opened this issue Apr 29, 2015 · 1 comment

Comments

@stevengj
Copy link
Member

Right now, I'm clearing the exception flags after calling a function and possibly checking them. It might be nice to allow more flexible handling of them. e.g. leave them uncleared and let the caller check them if she wants to.

Ideally, I would imitate what Julia does with fp exception flags for binary fp, but there doesn't seem to be much there right now. cc @andreasnoack

@stevengj stevengj changed the title user access to exception flags caller access to exception flags Apr 29, 2015
@ScottPJones
Copy link
Contributor

I believe that the library can be compiled where the exception flags are passed on every call, instead of being global state (which is a problem for multithreaded access to the library).
Might that be a cleaner path for the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants