public static float Acos(float Angle) { return(1.5707963267948966192313216916398f - FastMathF.Asin(Angle)); //(PI / 2) }
public static float Log2(float x) { return(FastMathF.Log(x) / 0.69314718055994530941723212145818f); }
public static float Log(float x, float newbase) { Debug.Assert(x != 0.0f); return(FastMathF.Log(x) / FastMathF.Log(newbase)); }
public static float Exp2(float x) { return(FastMathF.Exp(0.69314718055994530941723212145818f * x)); }
public static float FastSqrt(float x) { return(1.0f / FastMathF.InverseSqrt(x)); //return 1.0f / FastInverseSqrt(x); }