Make specific FloatingPointValue
operators return the same type
#157
Labels
enhancement
New feature or request
FloatingPointValue
operators return the same type
#157
Motivation
Operators on specific
FloatingPointValue
s (e.g.FloatingPoint16Value
) have operators (e.g.+
) which return genericFloatingPointValue
objects instead ofFloatingPoint16Value
s. 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
The text was updated successfully, but these errors were encountered: