Replies: 1 comment 2 replies
-
Hi, Complex type has not been discussed before. Do you have any examples of using complex numbers to represent a quantity value? Would you use it if it was implemented? As for using QuantityValue as the internal value, maybe. I haven't really thought about it, but maybe there is some merit to it. I'm trying to come up with counter-arguments not to do so, and I think the best I can think of right now is that serialization will be more complicated and it probably adds some extra bytes for memory sensitive applications. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Have you ever considered implementing the
System.Numerics.Complex
data type? Instead of some quantities usingdecimal
and some usingdouble
, could they not all useQuantityValue
? And in that event, what would prevent the extension of this struct to have a third field to storeComplex
as like this:Beta Was this translation helpful? Give feedback.
All reactions