Search Results for

    Show / Hide Table of Contents

    Class FastMath

    Inheritance
    System.Object
    FastMath
    Namespace: OpenAPI.Utils
    Assembly: OpenAPI.dll
    Syntax
    public static class FastMath : object

    Fields

    | Improve this Doc View Source

    DOUBLE_PI

    Declaration
    public const float DOUBLE_PI = null
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    HALF_PI

    Declaration
    public const float HALF_PI = null
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    PI

    Declaration
    public const float PI = null
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    TWO_PI_INV

    Declaration
    public const float TWO_PI_INV = null
    Field Value
    Type Description
    System.Single

    Methods

    | Improve this Doc View Source

    Abs(Decimal)

    Declaration
    public static decimal Abs(decimal d)
    Parameters
    Type Name Description
    System.Decimal d
    Returns
    Type Description
    System.Decimal
    | Improve this Doc View Source

    Abs(Double)

    Declaration
    public static double Abs(double d)
    Parameters
    Type Name Description
    System.Double d
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Abs(Int16)

    Declaration
    public static short Abs(short d)
    Parameters
    Type Name Description
    System.Int16 d
    Returns
    Type Description
    System.Int16
    | Improve this Doc View Source

    Abs(Int32)

    Declaration
    public static int Abs(int d)
    Parameters
    Type Name Description
    System.Int32 d
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Abs(Int64)

    Declaration
    public static long Abs(long d)
    Parameters
    Type Name Description
    System.Int64 d
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    Abs(SByte)

    Declaration
    public static sbyte Abs(sbyte d)
    Parameters
    Type Name Description
    System.SByte d
    Returns
    Type Description
    System.SByte
    | Improve this Doc View Source

    Abs(Single)

    Declaration
    public static float Abs(float d)
    Parameters
    Type Name Description
    System.Single d
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Cbrt(Double)

    Declaration
    public static double Cbrt(double x)
    Parameters
    Type Name Description
    System.Double x
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Cbrt(Single)

    Declaration
    public static float Cbrt(float x)
    Parameters
    Type Name Description
    System.Single x
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Ceiling(Decimal)

    Declaration
    public static int Ceiling(decimal x)
    Parameters
    Type Name Description
    System.Decimal x
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Ceiling(Double)

    Declaration
    public static int Ceiling(double x)
    Parameters
    Type Name Description
    System.Double x
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Ceiling(Single)

    Declaration
    public static int Ceiling(float x)
    Parameters
    Type Name Description
    System.Single x
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Copysign(Double, Double)

    Declaration
    public static double Copysign(double x, double signval)
    Parameters
    Type Name Description
    System.Double x
    System.Double signval
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Copysign(Single, Single)

    Declaration
    public static float Copysign(float x, float signval)
    Parameters
    Type Name Description
    System.Single x
    System.Single signval
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Cos(Double)

    Declaration
    public static double Cos(double x)
    Parameters
    Type Name Description
    System.Double x
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Cos(Single)

    Declaration
    public static float Cos(float x)
    Parameters
    Type Name Description
    System.Single x
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Dim(Double, Double)

    Declaration
    public static double Dim(double a, double b)
    Parameters
    Type Name Description
    System.Double a
    System.Double b
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Dim(Single, Single)

    Declaration
    public static double Dim(float a, float b)
    Parameters
    Type Name Description
    System.Single a
    System.Single b
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Exp2(Double)

    Declaration
    public static double Exp2(double exp)
    Parameters
    Type Name Description
    System.Double exp
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Exp2(Single)

    Declaration
    public static float Exp2(float exp)
    Parameters
    Type Name Description
    System.Single exp
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Floor(Decimal)

    Declaration
    public static int Floor(decimal x)
    Parameters
    Type Name Description
    System.Decimal x
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Floor(Double)

    Declaration
    public static int Floor(double x)
    Parameters
    Type Name Description
    System.Double x
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Floor(Single)

    Declaration
    public static int Floor(float x)
    Parameters
    Type Name Description
    System.Single x
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Hypot(Double, Double)

    Declaration
    public static double Hypot(double x, double y)
    Parameters
    Type Name Description
    System.Double x
    System.Double y
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Hypot(Single, Single)

    Declaration
    public static double Hypot(float x, float y)
    Parameters
    Type Name Description
    System.Single x
    System.Single y
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Ldexp(Double, Int32)

    Declaration
    public static double Ldexp(double num, int exp)
    Parameters
    Type Name Description
    System.Double num
    System.Int32 exp
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Ldexp(Single, Int32)

    Declaration
    public static float Ldexp(float num, int exp)
    Parameters
    Type Name Description
    System.Single num
    System.Int32 exp
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Ma(Double, Double, Double)

    Declaration
    public static double Ma(double a, double b, double c)
    Parameters
    Type Name Description
    System.Double a
    System.Double b
    System.Double c
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Ma(Single, Single, Single)

    Declaration
    public static float Ma(float a, float b, float c)
    Parameters
    Type Name Description
    System.Single a
    System.Single b
    System.Single c
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Max(Double, Double)

    Declaration
    public static double Max(double a, double b)
    Parameters
    Type Name Description
    System.Double a
    System.Double b
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Max(Single, Single)

    Declaration
    public static double Max(float a, float b)
    Parameters
    Type Name Description
    System.Single a
    System.Single b
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Min(Double, Double)

    Declaration
    public static double Min(double a, double b)
    Parameters
    Type Name Description
    System.Double a
    System.Double b
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Min(Single, Single)

    Declaration
    public static float Min(float a, float b)
    Parameters
    Type Name Description
    System.Single a
    System.Single b
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Mod(Double, Double)

    Declaration
    public static double Mod(double a, double b)
    Parameters
    Type Name Description
    System.Double a
    System.Double b
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Mod(Single, Single)

    Declaration
    public static float Mod(float a, float b)
    Parameters
    Type Name Description
    System.Single a
    System.Single b
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Pow(Double, Double)

    Declaration
    public static double Pow(double a, double b)
    Parameters
    Type Name Description
    System.Double a
    System.Double b
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Pow(Int32, Int32)

    Declaration
    public static int Pow(int a, int b)
    Parameters
    Type Name Description
    System.Int32 a
    System.Int32 b
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Remainder(Double, Double)

    Declaration
    public static double Remainder(double a, double b)
    Parameters
    Type Name Description
    System.Double a
    System.Double b
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Remainder(Single, Single)

    Declaration
    public static float Remainder(float a, float b)
    Parameters
    Type Name Description
    System.Single a
    System.Single b
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Round(Double)

    Declaration
    public static int Round(double arg)
    Parameters
    Type Name Description
    System.Double arg
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Round(Single)

    Declaration
    public static int Round(float arg)
    Parameters
    Type Name Description
    System.Single arg
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Sin(Double)

    Declaration
    public static double Sin(double x)
    Parameters
    Type Name Description
    System.Double x
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Sin(Single)

    Declaration
    public static float Sin(float x)
    Parameters
    Type Name Description
    System.Single x
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Sqrt(Double)

    Declaration
    public static double Sqrt(double x)
    Parameters
    Type Name Description
    System.Double x
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    Sqrt(Single)

    Declaration
    public static float Sqrt(float x)
    Parameters
    Type Name Description
    System.Single x
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Tan(Double)

    Declaration
    public static double Tan(double d)
    Parameters
    Type Name Description
    System.Double d
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    ToRadians(Single)

    Declaration
    public static float ToRadians(float angle)
    Parameters
    Type Name Description
    System.Single angle
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Trunc(Double)

    Declaration
    public static int Trunc(double arg)
    Parameters
    Type Name Description
    System.Double arg
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Trunc(Single)

    Declaration
    public static int Trunc(float arg)
    Parameters
    Type Name Description
    System.Single arg
    Returns
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX