The Largest representable factorial ?

If i run the factorial(1:200), the largest value is 7.257416e+306, any value above that is "Inf".
1: Does this means the largest value inside R programming is 7.257416e+306.
we can not calculate the value above factorial(170)?

2 but when i run the code ".Machine$double.xmax", the biggest value is 1.797693e+308.
so i am bit confused, which one is the biggest value in R.

Welcome to the community!

When you multiply 7.257416 \times 10 ^ {306} by 171, won't that exceed 1.797693 \times 10 ^ {308}?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.