Ideas for Numeric Types #84397
Unanswered
LupusInferni315
asked this question in
Ideas
Replies: 1 comment 7 replies
-
Have you read some documentation recently? https://learn.microsoft.com/en-us/dotnet/standard/generics/math |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think that the numeric types should contain both the implicit and explicit conversion methods (if for no other reason than conversion by reflection), every other type in C# requires such methods to be implemented when you want conversion, which when needing to use reflection with conversion makes it much easier to do, with the exception of numeric types, if you wanted to convert numeric types as such you would have to hardcode each and very conversion between them which is at least 169 different possible conversions.
Beta Was this translation helpful? Give feedback.
All reactions