factorial uses

Reply

Join Date: Nov 2005
Posts: 2
Reputation: snaidis is an unknown quantity at this point 
Solved Threads: 0
snaidis snaidis is offline Offline
Newbie Poster

factorial uses

 
0
  #1
Nov 17th, 2005
what is the factorial uses?
what does factorial do?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 598
Reputation: SpS is on a distinguished road 
Solved Threads: 32
SpS's Avatar
SpS SpS is offline Offline
Posting Pro

Re: factorial uses

 
0
  #2
Nov 17th, 2005
Example
5!=5*4*3*2*1=120
! represents factorial
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: factorial uses

 
0
  #3
Nov 17th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 178
Reputation: jim mcnamara is on a distinguished road 
Solved Threads: 10
jim mcnamara jim mcnamara is offline Offline
Junior Poster

Re: factorial uses

 
0
  #4
Nov 18th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 1,221
Reputation: bumsfeld will become famous soon enough bumsfeld will become famous soon enough 
Solved Threads: 137
bumsfeld's Avatar
bumsfeld bumsfeld is offline Offline
Nearly a Posting Virtuoso

Re: factorial uses

 
0
  #5
Nov 19th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,625
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 715
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: factorial uses

 
0
  #6
Nov 19th, 2005
>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.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC