Ad
  • Custom User Avatar

    negative factorials don't have a value, mathematically or computationally as far as I know, becaues of the definition

    n! = n*((n-1)!), where 0! = 1

    this is also the reason for some other funky mathematical phenomona, but this is a CS site so

    point is, this function will never be used for values where n is an element of (-∞,0)