/// <summary> /// Calculates Cos(x) /// </summary> /// <param name="n1">The angle (in radians) to find the cosine of</param> /// <remarks>This is a reasonably fast function for smaller precisions, but /// doesn't scale well for higher precision arguments</remarks> public static BigFloat Cos(BigFloat n1) { BigFloat res = new BigFloat(n1); n1.Cos(); return n1; }