I'm currently working on some custom type Unit I want other users to be able to do math operations with (sin, cos, ln, etc.).
What I want to do is to overload mathematical functions from System.Math to take Unit as arguments so when users code they don't have to use two different static methods (Math.Sin() and Unit.Sin()) from two classes to do math with doubles and Unit in the same expression. I want to keep it simple to whoever wants to use my class.
How to overload System.Math or is there any other ways to achieve my goal?