request for C code for factorial of any wish number

This is a discussion on request for C code for factorial of any wish number within the C Programming forums, part of the General Programming Boards category; You'll need big num (multi-precision library) to calculate large factorial....

  1. #16
    Registered User
    Join Date
    May 2010
    Location
    Naypyidaw
    Posts
    1,314
    You'll need big num (multi-precision library) to calculate large factorial.

  2. #17
    Making mistakes
    Join Date
    Dec 2008
    Posts
    476
    Either use long long or long double, both should work correctly up to 15 digits. No need for extra libraries.

  3. #18
    Registered User
    Join Date
    May 2010
    Location
    Naypyidaw
    Posts
    1,314
    large means greater than 15 digits

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Number Guessing
    By blacknapalm in forum C Programming
    Replies: 2
    Last Post: 10-01-2008, 01:48 AM
  2. To generate bar code from a number
    By darkducke in forum C Programming
    Replies: 18
    Last Post: 01-16-2008, 05:33 AM
  3. adding a number to a number
    By bigmac(rexdale) in forum C Programming
    Replies: 11
    Last Post: 10-24-2007, 12:56 PM
  4. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 06:18 AM
  5. Replies: 25
    Last Post: 10-28-2001, 12:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21