DecimalMath is a library to calculate mathematic functions with the decimal data type.
- Net 6.0
- Net 8.0
decimal Abs(decimal x);
decimal Acos(decimal x);
decimal Asin(decimal x);
decimal Atan(decimal x);
decimal Atan2(decimal x);
decimal Cos(decimal x);
decimal Cosh(decimal x);
decimal Exp(decimal x);
decimal Log(decimal x);
decimal Log10(decimal x);
decimal Power(decimal value, decimal pow);
decimal PowerN(decimal value, int power);
int Sign(decimal x);
decimal Sin(decimal x);
decimal Sinh(decimal x);
decimal Sqrt(decimal x, decimal epsilon = Zero);
decimal Tan(decimal x);
decimal Tanh(decimal x);
The project can be found on nuget.
dotnet add package HaemmerElectronics.SeppPenner.DecimalMath
See the Changelog.