Skip to content

Instantly share code, notes, and snippets.

@cdrnet
Created February 17, 2011 14:15
Show Gist options
  • Save cdrnet/831793 to your computer and use it in GitHub Desktop.
Save cdrnet/831793 to your computer and use it in GitHub Desktop.
Math.NET Numerics Code Samples: Special Functions: Factorial
double x = SpecialFunctions.Factorial(14);
// x will now have the value 87178291200.0
double y = SpecialFunctions.Factorial(31);
// y will now have the value 8.2228386541779224E+33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment