944,028 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 2642
  • C RSS
Nov 17th, 2005
0

factorial uses

Expand Post »
what is the factorial uses?
what does factorial do?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
snaidis is offline Offline
2 posts
since Nov 2005
Nov 17th, 2005
0

Re: factorial uses

Example
5!=5*4*3*2*1=120
! represents factorial
SpS
Reputation Points: 70
Solved Threads: 32
Posting Pro
SpS is offline Offline
598 posts
since Aug 2005
Nov 17th, 2005
0

Re: factorial uses

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
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005
Nov 18th, 2005
0

Re: factorial uses

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.
Reputation Points: 62
Solved Threads: 10
Junior Poster
jim mcnamara is offline Offline
179 posts
since May 2004
Nov 19th, 2005
0

Re: factorial uses

Quote originally posted by jim mcnamara ...
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.
Reputation Points: 404
Solved Threads: 180
Nearly a Posting Virtuoso
bumsfeld is offline Offline
1,422 posts
since Jul 2005
Nov 19th, 2005
0

Re: factorial uses

>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.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: please some one complete this linkedlist project
Next Thread in C Forum Timeline: CFont problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC