Class ExtendedDouble
Represents a number as Mantissa * exp(Exponent).
Inheritance
ExtendedDouble
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class ExtendedDouble
Constructors
ExtendedDouble(Double, Double)
Declaration
public ExtendedDouble(double mantissa, double exponent)
Parameters
Fields
Exponent
Declaration
public readonly double Exponent
Field Value
Mantissa
Declaration
public readonly double Mantissa
Field Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
FromDouble(Double)
Declaration
public static ExtendedDouble FromDouble(double value)
Parameters
Type |
Name |
Description |
Double |
value |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Log()
Declaration
Returns
Max(Double)
Declaration
public ExtendedDouble Max(double minimum)
Parameters
Type |
Name |
Description |
Double |
minimum |
|
Returns
MultiplyExp(Double)
Declaration
public ExtendedDouble MultiplyExp(double logarithm)
Parameters
Type |
Name |
Description |
Double |
logarithm |
|
Returns
NaN()
Declaration
public static ExtendedDouble NaN()
Returns
PositiveInfinity()
Declaration
public static ExtendedDouble PositiveInfinity()
Returns
ToDouble()
Declaration
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Zero()
Declaration
public static ExtendedDouble Zero()
Returns
Operators
Addition(ExtendedDouble, ExtendedDouble)
Declaration
public static ExtendedDouble operator +(ExtendedDouble x, ExtendedDouble y)
Parameters
Returns
Division(ExtendedDouble, ExtendedDouble)
Declaration
public static ExtendedDouble operator /(ExtendedDouble x, ExtendedDouble y)
Parameters
Returns
Division(ExtendedDouble, Double)
Declaration
public static ExtendedDouble operator /(ExtendedDouble x, double y)
Parameters
Returns
Multiply(ExtendedDouble, ExtendedDouble)
Declaration
public static ExtendedDouble operator *(ExtendedDouble x, ExtendedDouble y)
Parameters
Returns
Multiply(ExtendedDouble, Double)
Declaration
public static ExtendedDouble operator *(ExtendedDouble x, double y)
Parameters
Returns
Subtraction(ExtendedDouble, ExtendedDouble)
Declaration
public static ExtendedDouble operator -(ExtendedDouble x, ExtendedDouble y)
Parameters
Returns
UnaryNegation(ExtendedDouble)
Declaration
public static ExtendedDouble operator -(ExtendedDouble x)
Parameters
Returns