Search Results for

    Show / Hide Table of Contents

    Class DoubleExtensions

    Extension functions for double type.

    Inheritance
    object
    DoubleExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Mathematics
    Assembly: Evergine.Mathematics.dll
    Syntax
    public static class DoubleExtensions

    Methods

    Distinct(double, double, float)

    Distincts the specified a.

    Declaration
    public static bool Distinct(this double a, double b, float maxRelativeError = 1E-07)
    Parameters
    Type Name Description
    double a

    First double.

    double b

    Second double.

    float maxRelativeError

    The max relative error.

    Returns
    Type Description
    bool

    The result.

    Equal(double, double, float)

    Equals the specified a.

    Declaration
    public static bool Equal(this double a, double b, float maxRelativeError = 1E-07)
    Parameters
    Type Name Description
    double a

    First double.

    double b

    Second double.

    float maxRelativeError

    The max relative error.

    Returns
    Type Description
    bool

    The result.

    In This Article
    Back to top
    Generated by DocFX