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

Make specific FloatingPointValue operators return the same type #157

Open
mkorbel1 opened this issue Jan 24, 2025 · 0 comments
Open

Make specific FloatingPointValue operators return the same type #157

mkorbel1 opened this issue Jan 24, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@mkorbel1
Copy link
Contributor

Motivation

Operators on specific FloatingPointValues (e.g. FloatingPoint16Value) have operators (e.g. +) which return generic FloatingPointValue objects instead of FloatingPoint16Values. It would be nice if they returned the same type.

Desired solution

Make them return the same type. Perhaps the clone could be of use to prevent code duplication?

Alternatives considered

No response

Additional details

No response

@mkorbel1 mkorbel1 added the enhancement New feature or request label Jan 24, 2025
@mkorbel1 mkorbel1 mentioned this issue Jan 24, 2025
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