C# Class System.Math.Math

Afficher le fichier Open project: runefs/Marvin

Méthodes publiques

Méthode Description
Abs ( decimal value ) : decimal
Abs ( double value ) : double
Abs ( float value ) : float
Abs ( int value ) : int
Abs ( long value ) : long
Abs ( short value ) : short
BigMul ( int a, int b ) : long
Ceiling ( decimal d ) : decimal
Ceiling ( double a ) : double
DivRem ( int a, int b, int &result ) : int
DivRem ( long a, long b, long &result ) : long
Floor ( Decimal d ) : decimal
IEEERemainder ( double x, double y ) : double
Log ( double a, double newBase ) : double
Round ( decimal d ) : decimal
Round ( decimal d, MidpointRounding mode ) : decimal
Round ( decimal d, int decimals ) : decimal
Round ( decimal d, int decimals, MidpointRounding mode ) : decimal
Round ( double value, MidpointRounding mode ) : double
Round ( double value, int digits ) : double
Round ( double value, int digits, MidpointRounding mode ) : double
Sign ( decimal value ) : int
Sign ( double value ) : int
Sign ( float value ) : int
Sign ( int value ) : int
Sign ( long value ) : int
Sign ( short value ) : int
Truncate ( decimal d ) : decimal
Truncate ( double d ) : double

Private Methods

Méthode Description
Abs ( sbyte value ) : sbyte
Acos ( double d ) : double
Asin ( double d ) : double
Atan ( double d ) : double
Atan2 ( double y, double x ) : double
Cos ( double d ) : double
Cosh ( double value ) : double
Exp ( double d ) : double
Floor ( double d ) : double
Log ( double d ) : double
Log10 ( double d ) : double
Math ( ) : System.Runtime.CompilerServices
Max ( byte val1, byte val2 ) : byte
Max ( decimal val1, decimal val2 ) : decimal
Max ( double val1, double val2 ) : double
Max ( float val1, float val2 ) : float
Max ( int val1, int val2 ) : int
Max ( long val1, long val2 ) : long
Max ( sbyte val1, sbyte val2 ) : sbyte
Max ( short val1, short val2 ) : short
Max ( uint val1, uint val2 ) : uint
Max ( ulong val1, ulong val2 ) : ulong
Max ( ushort val1, ushort val2 ) : ushort
Min ( byte val1, byte val2 ) : byte
Min ( decimal val1, decimal val2 ) : decimal
Min ( double val1, double val2 ) : double
Min ( float val1, float val2 ) : float
Min ( int val1, int val2 ) : int
Min ( long val1, long val2 ) : long
Min ( sbyte val1, sbyte val2 ) : sbyte
Min ( short val1, short val2 ) : short
Min ( uint val1, uint val2 ) : uint
Min ( ulong val1, ulong val2 ) : ulong
Min ( ushort val1, ushort val2 ) : ushort
Pow ( double x, double y ) : double
Round ( double a ) : double
Round2 ( double value, int digits, bool away_from_zero ) : double
RoundAwayFromZero ( decimal d ) : decimal
Sign ( sbyte value ) : int
Sin ( double a ) : double
Sinh ( double value ) : double
Sqrt ( double d ) : double
Tan ( double a ) : double
Tanh ( double value ) : double

Method Details

Abs() public static méthode

public static Abs ( decimal value ) : decimal
value decimal
Résultat decimal

Abs() public static méthode

public static Abs ( double value ) : double
value double
Résultat double

Abs() public static méthode

public static Abs ( float value ) : float
value float
Résultat float

Abs() public static méthode

public static Abs ( int value ) : int
value int
Résultat int

Abs() public static méthode

public static Abs ( long value ) : long
value long
Résultat long

Abs() public static méthode

public static Abs ( short value ) : short
value short
Résultat short

BigMul() public static méthode

public static BigMul ( int a, int b ) : long
a int
b int
Résultat long

Ceiling() public static méthode

public static Ceiling ( decimal d ) : decimal
d decimal
Résultat decimal

Ceiling() public static méthode

public static Ceiling ( double a ) : double
a double
Résultat double

DivRem() public static méthode

public static DivRem ( int a, int b, int &result ) : int
a int
b int
result int
Résultat int

DivRem() public static méthode

public static DivRem ( long a, long b, long &result ) : long
a long
b long
result long
Résultat long

Floor() public static méthode

public static Floor ( Decimal d ) : decimal
d Decimal
Résultat decimal

IEEERemainder() public static méthode

public static IEEERemainder ( double x, double y ) : double
x double
y double
Résultat double

Log() public static méthode

public static Log ( double a, double newBase ) : double
a double
newBase double
Résultat double

Round() public static méthode

public static Round ( decimal d ) : decimal
d decimal
Résultat decimal

Round() public static méthode

public static Round ( decimal d, MidpointRounding mode ) : decimal
d decimal
mode MidpointRounding
Résultat decimal

Round() public static méthode

public static Round ( decimal d, int decimals ) : decimal
d decimal
decimals int
Résultat decimal

Round() public static méthode

public static Round ( decimal d, int decimals, MidpointRounding mode ) : decimal
d decimal
decimals int
mode MidpointRounding
Résultat decimal

Round() public static méthode

public static Round ( double value, MidpointRounding mode ) : double
value double
mode MidpointRounding
Résultat double

Round() public static méthode

public static Round ( double value, int digits ) : double
value double
digits int
Résultat double

Round() public static méthode

public static Round ( double value, int digits, MidpointRounding mode ) : double
value double
digits int
mode MidpointRounding
Résultat double

Sign() public static méthode

public static Sign ( decimal value ) : int
value decimal
Résultat int

Sign() public static méthode

public static Sign ( double value ) : int
value double
Résultat int

Sign() public static méthode

public static Sign ( float value ) : int
value float
Résultat int

Sign() public static méthode

public static Sign ( int value ) : int
value int
Résultat int

Sign() public static méthode

public static Sign ( long value ) : int
value long
Résultat int

Sign() public static méthode

public static Sign ( short value ) : int
value short
Résultat int

Truncate() public static méthode

public static Truncate ( decimal d ) : decimal
d decimal
Résultat decimal

Truncate() public static méthode

public static Truncate ( double d ) : double
d double
Résultat double