-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
considerSomething to think aboutSomething to think aboutenhancementNew feature or requestNew feature or request
Milestone
Description
-
NaNis already permitted as it is part ofDecimaljust likeinfand-0, but important to check thatQuantity's methods don't run into issues due to assuming thatnumberwill always be real - Keep
complexorFractionwhen used to create aQuantity - Account for different behaviour of those types in methods of
Quantity(and ofUnit) i.e. that not everything works with all types - Methods that only make sense with decimal quantities should just fail with complex/Fraction and the onus is placed on the user
- Detect strings
"1+2j""1/2"as being complex and fractional respectively and pass them tocomplex()orFraction()as appropriate
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
considerSomething to think aboutSomething to think aboutenhancementNew feature or requestNew feature or request