Class MathUtils
Inheritance
System.Object
MathUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Bayat.Json.Runtime.dll
Syntax
public static class MathUtils
Methods
|
Improve this Doc
View Source
ApproxEquals(Double, Double)
Declaration
public static bool ApproxEquals(double d1, double d2)
Parameters
Type |
Name |
Description |
System.Double |
d1 |
|
System.Double |
d2 |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IntLength(UInt64)
Declaration
public static int IntLength(ulong i)
Parameters
Type |
Name |
Description |
System.UInt64 |
i |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IntToHex(Int32)
Declaration
public static char IntToHex(int n)
Parameters
Type |
Name |
Description |
System.Int32 |
n |
|
Returns
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
Max(Nullable<Double>, Nullable<Double>)
Declaration
public static double? Max(double? val1, double? val2)
Parameters
Type |
Name |
Description |
System.Nullable<System.Double> |
val1 |
|
System.Nullable<System.Double> |
val2 |
|
Returns
Type |
Description |
System.Nullable<System.Double> |
|
|
Improve this Doc
View Source
Max(Nullable<Int32>, Nullable<Int32>)
Declaration
public static int? Max(int? val1, int? val2)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
val1 |
|
System.Nullable<System.Int32> |
val2 |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
|
Improve this Doc
View Source
Min(Nullable<Int32>, Nullable<Int32>)
Declaration
public static int? Min(int? val1, int? val2)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
val1 |
|
System.Nullable<System.Int32> |
val2 |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|