Provides maths functions with consistent function signatures across supported precisions.
More...
|
static Single | Sqrt (Single v) |
|
static Single | Abs (Single v) |
|
static Single | Sin (Single v) |
|
static Single | Cos (Single v) |
|
static Single | Tan (Single v) |
|
static Single | ArcCos (Single v) |
|
static Single | ArcSin (Single v) |
|
static Single | ArcTan (Single v) |
|
static Single | ArcTan2 (Single y, Single x) |
|
static Single | ToRadians (Single input) |
|
static Single | ToDegrees (Single input) |
|
static Single | FromFraction (Int32 numerator, Int32 denominator) |
|
static Single | FromFraction (Int64 numerator, Int64 denominator) |
|
static Single | Min (Single a, Single b) |
|
static Single | Max (Single a, Single b) |
|
static Single | Clamp (Single value, Single min, Single max) |
|
static Single | Lerp (Single a, Single b, Single t) |
|
static Single | FromString (String str) |
|
static void | FromString (String str, out Single value) |
|
static Boolean | IsApproximatelyZero (Single value) |
|
static Boolean | ApproximateEquals (Single a, Single b) |
|
static Int32 | Sign (Single value) |
|
static Single | CopySign (Single x, Single y) |
|
|
static readonly Single | Epsilon = 0.000001f |
|
static readonly Single | E = 2.71828182845904523536028747135f |
|
static readonly Single | Half = 0.5f |
|
static readonly Single | Quarter = 0.25f |
|
static readonly Single | Log10E = 0.43429448190325182765112891892f |
|
static readonly Single | Log2E = 1.44269504088896340735992468100f |
|
static readonly Single | Pi = 3.14159265358979323846264338328f |
|
static readonly Single | HalfPi = 1.57079632679489661923132169164f |
|
static readonly Single | QuarterPi = 0.78539816339744830961566084582f |
|
static readonly Single | Root2 = 1.41421356237309504880168872421f |
|
static readonly Single | Root3 = 1.73205080756887729352744634151f |
|
static readonly Single | Tau = 6.28318530717958647692528676656f |
|
static readonly Single | Deg2Rad = 0.01745329251994329576923690768f |
|
static readonly Single | Rad2Deg = 57.29577951308232087679815481409f |
|
static readonly Single | Zero = 0.0f |
|
static readonly Single | One = 1.0f |
|
Provides maths functions with consistent function signatures across supported precisions.
The documentation for this class was generated from the following file:
- source/abacus/src/main/Abacus.Single.cs