in reply to Re: Factorials of rational numbers up to 999.9
in thread Factorials of rational numbers up to 999.9

without using bignum the script works fine, but the factorials become #INF at 143!
  • Comment on Re^2: Factorials of rational numbers up to 999.9

Replies are listed 'Best First'.
Re^3: Factorials of rational numbers up to 999.9
by Corion (Patriarch) on May 16, 2011 at 08:21 UTC

    Most likely this is because not all elements in your calculations are Math::Complex objects, especially the constants. I would try to convert all elements to Math::Complex objects, or remove all Math::Complex calculations in favor of Math::BigInt.

    I'm not sure what part Math::Complex plays in your calculations. Maybe you can eliminate Math::Complex in favor of number pairs, (Math::BigInt, Math::BigInt), to denote the real and imaginary parts.