Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.MathF Class Reference

Public Member Functions

static float Acos (float x)
 
static float Acosh (float x)
 
static float Asin (float x)
 
static float Asinh (float x)
 
static float Atan (float x)
 
static float Atanh (float x)
 
static float Atan2 (float y, float x)
 
static float Cbrt (float x)
 
static float Ceiling (float x)
 
static float Cos (float x)
 
static float Cosh (float x)
 
static float Exp (float x)
 
static float Floor (float x)
 
static float FusedMultiplyAdd (float x, float y, float z)
 
static int ILogB (float x)
 
static float Log (float x)
 
static float Log2 (float x)
 
static float Log10 (float x)
 
static float Pow (float x, float y)
 
static float Sin (float x)
 
static float Sinh (float x)
 
static float Sqrt (float x)
 
static float Tan (float x)
 
static float Tanh (float x)
 

Static Public Member Functions

static unsafe (float Sin, float Cos) SinCos(float x)
 
static float Abs (float x)
 
static float BitDecrement (float x)
 
static float BitIncrement (float x)
 
static float CopySign (float x, float y)
 
static float IEEERemainder (float x, float y)
 
static float Log (float x, float y)
 
static float Max (float x, float y)
 
static float MaxMagnitude (float x, float y)
 
static float Min (float x, float y)
 
static float MinMagnitude (float x, float y)
 
static float ReciprocalEstimate (float x)
 
static float ReciprocalSqrtEstimate (float x)
 
static float Round (float x)
 
static float Round (float x, int digits)
 
static float Round (float x, MidpointRounding mode)
 
static unsafe float Round (float x, int digits, MidpointRounding mode)
 
static int Sign (float x)
 
static unsafe float Truncate (float x)
 
static float ScaleB (float x, int n)
 

Static Public Attributes

const float E = 2.7182817f
 
const float PI = 3.1415927f
 
const float Tau = (float)Math.PI * 2f
 

Private Member Functions

static unsafe float ModF (float x, float *intptr)
 
static unsafe void SinCos (float x, float *sin, float *cos)
 

Static Private Attributes

static readonly float[] roundPower10Single = new float[7] { 1f, 10f, 100f, 1000f, 10000f, 100000f, 1000000f }
 

Detailed Description

Definition at line 9 of file MathF.cs.


The documentation for this class was generated from the following file: