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: override base-level arithmetic operations for more aggressive NaN injection #17

Open
ashton314 opened this issue May 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ashton314
Copy link
Member

A current limitation of FloatTracker is that we can only inject NaNs after we have "infected" some numbers with a NaN. What if we were to have the option of entirely overriding the functions in Base—with the types that they have normally—to more aggressively (and automatically?) inject NaNs?

We might be able to do this with a macro: some kind of switch that controls what macros we emit, and then we can only emit that override code when the switch is flipped.

@ashton314 ashton314 added the enhancement New feature or request label May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant