‹ BackHN Continuity

Thread

How big are factorials?

99 points · 43 comments · ibobev

  1. pagade · · focus · HN ↗
    Reminds me of: Professor asked us to find the biggest factorial using C programming language. And then using LISP. You can imagine our surprise.
    1. smcin · · focus · HN ↗
      I think you mean "using base C without any arbitrary-precision library (e.g. GMP)" . All that illustrates is that Lisp has built-in support for arbitrary-precision arithmetic, whereas C doesn't. Otherwise, how is this surprising, and what is the reason for the performance difference?
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.