Constants

Summary

Provides mathematical constants and floating-point precision tolerances for single and double precision operations.

Definition

Namespace: SDT4.Managed.Core.Math
Assembly: SDT4.Managed.Core.dll

static class Constants
Inheritance:

Object ➔ Constants

Implements:


Fields

Name Type Description
public static EpsilonF Single Represents the smallest single-precision floating-point value such that 1.0f + Constants.EpsilonF != 1.0f.
public static InfinityF Single Represents positive infinity for single-precision floating-point numbers.
public static NegativeInfinityF Single Represents negative infinity for single-precision floating-point numbers.
public static EpsilonD Double Represents the smallest double-precision floating-point value such that 1.0 + Constants.EpsilonD != 1.0.
public static InfinityD Double Represents positive infinity for double-precision floating-point numbers.
public static NegativeInfinityD Double Represents negative infinity for double-precision floating-point numbers.
public static EulerD Double Represents the mathematical constant e (Euler's number) as a double precision value.
public static TwoPiD Double Represents two times pi ($2\pi$) as a double precision value.
public static TauD Double Represents tau ($\tau$), equal to $2\pi$, as a double precision value.
public static PiD Double Represents the ratio of a circle's circumference to its diameter ($\pi$) as a double precision value.
public static HalfPiD Double Represents half of pi ($\frac{\pi}{2}$) as a double precision value.
public static QuaterPiD Double Represents a quarter of pi ($\frac{\pi}{4}$) as a double precision value.
public static InvPiD Double Represents the reciprocal of pi ($\frac{1}{\pi}$) as a double precision value.
public static InvHalfPiD Double Represents the reciprocal of half pi ($\frac{2}{\pi}$) as a double precision value.
public static InvQuaterPiD Double Represents the reciprocal of a quarter of pi ($\frac{4}{\pi}$) as a double precision value.
public static EulerF Single Represents the mathematical constant e (Euler's number) as a single precision value.
public static TwoPiF Single Represents two times pi ($2\pi$) as a single precision value.
public static TauF Single Represents tau ($\tau$), equal to $2\pi$, as a single precision value.
public static PiF Single Represents the ratio of a circle's circumference to its diameter ($\pi$) as a single precision value.
public static HalfPiF Single Represents half of pi ($\frac{\pi}{2}$) as a single precision value.
public static QuaterPiF Single Represents a quarter of pi ($\frac{\pi}{4}$) as a single precision value.
public static InvPiF Single Represents the reciprocal of pi ($\frac{1}{\pi}$) as a single precision value.
public static InvHalfPiF Single Represents the reciprocal of half pi ($\frac{2}{\pi}$) as a single precision value.
public static InvQuaterPiF Single Represents the reciprocal of a quarter of pi ($\frac{4}{\pi}$) as a single precision value.

Properties

Name Type Description

Methods