Calculating log(1000!)

65 · John Cook · Aug. 6, 2026, 1:47 p.m.
Summary
The blog post discusses the calculation of the logarithm of the factorial of 1000 using Python's math library. It highlights an unexpected behavior when substituting the math.log function with numpy.log, which raises an issue due to the different ways these libraries handle real numbers. The author emphasizes the nuances of logarithmic functions in programming.