954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

factorial uses

what is the factorial uses?
what does factorial do? :?:

snaidis
Newbie Poster
2 posts since Nov 2005
Reputation Points: 10
Solved Threads: 0
 

Example
5!=5*4*3*2*1=120
! represents factorial

SpS
Posting Pro
599 posts since Aug 2005
Reputation Points: 70
Solved Threads: 32
 

That is a mathematics question and explanation is lengthy. It is mostly used in numerical series. Best thing is to go to a mathematics site and search in it. Here is a sample

WolfPack
Postaholic
Moderator
2,051 posts since Jun 2005
Reputation Points: 572
Solved Threads: 115
 

factorials get BIG really fast and exceed the limits of 32-bit unsigned integer variables by 13!.

If you want to play with them use a datatype that can handle huge numbers, or switch to an extended precision mathematics library like GMP.

jim mcnamara
Junior Poster
180 posts since May 2004
Reputation Points: 62
Solved Threads: 10
 

factorials get BIG really fast and exceed the limits of 32-bit unsigned integer variables by 13!.

If you want to play with them use a datatype that can handle huge numbers, or switch to an extended precision mathematics library like GMP.


Or use Ruby or Python that do not have these narrow limits.

bumsfeld
Nearly a Posting Virtuoso
1,445 posts since Jul 2005
Reputation Points: 404
Solved Threads: 184
 

>Or use Ruby or Python that do not have these narrow limits.
The only difference being that the arbitrary precision types are built into the language instead of offered as a library. I always enjoy when someone goes into a random thread and suggests that people use their favorite languages for no good reason.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You