Example #1
0
 /// <summary>
 /// Calculates Sin(x):
 /// This takes a little longer and is less accurate if the input is out of the range (-pi, pi].
 /// </summary>
 /// <param name="n1">The angle to find the sine of (in radians)</param>
 /// <remarks>This is a resonably fast function, for smaller precision arguments, but doesn't
 /// scale very well with the number of bits in the input.</remarks>
 public static BigFloat Sin(BigFloat n1)
 {
     BigFloat res = new BigFloat(n1);
     res.Sin();
     return res;
 }