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

Create mechanisms to easily extend the kinds of number types FloatTracker supports #30

Open
ashton314 opened this issue Jun 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ashton314
Copy link
Member

I'm adding support for complex numbers right now: it would be interesting if we could make this sort of thing easy for consumers of FloatTracker to do.

@ashton314 ashton314 added the enhancement New feature or request label Jun 6, 2023
@bennn
Copy link
Member

bennn commented Jun 8, 2023

Ingredients for a new type:

  • write cast function to/from TrackedX
  • identify the error values for that type
  • collect list of operations to override
  • override each operation, add logging

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

2 participants