Talk:Factorial: Difference between revisions
Content added Content deleted
m (correct table of number of digits for some factorials.) |
(made some cosmetic changes, added a header to the first set of comments/questions.) |
||
Line 1: | Line 1: | ||
==range limits for the factorial function== |
|||
Just a thought...it would be interesting to programmatically identify the range limits of the factorial function for the unknown implementation. (The C and c++ implementations, for example, will overflow at different places depending on the range of int.) --[[User:Short Circuit|Short Circuit]] 18:33, 30 January 2009 (UTC) |
Just a thought...it would be interesting to programmatically identify the range limits of the factorial function for the unknown implementation. (The C and c++ implementations, for example, will overflow at different places depending on the range of int.) --[[User:Short Circuit|Short Circuit]] 18:33, 30 January 2009 (UTC) |
||
: Yes, for non-native speakers of any language, it would be nice to know how big the '''thingys''' are: ''int, short, long, long long'', etc. For experienced programmers, I imagine this is old hat, but to programmers who can barely spell '''C''', ... not so obvious. --- [[User:Gerard Schildberger|Gerard Schildberger]] 21:35, 30 May 2012 (UTC) |
: Yes, for non-native speakers of any language, it would be nice to know how big the '''thingys''' are: ''int, short, long, long long'', etc. For experienced programmers, I imagine this is old hat, but to programmers who can barely spell '''C''', ... not so obvious. --- [[User:Gerard Schildberger|Gerard Schildberger]] 21:35, 30 May 2012 (UTC) |
||
<pre> |
|||
┌────────────────────────────────────────────────────────────────┐ |
|||
│ ───── Some factorial lengths ───── │ |
│ ───── Some factorial lengths ───── │ |
||
│ │ |
│ │ |
||
Line 20: | Line 22: | ||
│ 10m ! = 65,657,060 digits │ |
│ 10m ! = 65,657,060 digits │ |
||
│ 100m ! = 756,570,556 digits │ |
│ 100m ! = 756,570,556 digits │ |
||
⚫ | |||
│ │ |
|||
</pre> |
|||
⚫ | |||
<strike> |
|||
In the table above, the factorial length for <b>416!</b> should be <b>911</b> rather than <b>394</b>. Used [[www.javascripter.net/math/calculators/100digitbigintcalculator.htm]] to verify. |
In the table above, the factorial length for <b>416!</b> should be <b>911</b> rather than <b>394</b>. Used [[www.javascripter.net/math/calculators/100digitbigintcalculator.htm]] to verify. |
||
01:27, 12 January 2015 (UTC) |
01:27, 12 January 2015 (UTC)</strike> |
||
Yes, it was inadvertently copied from the previous line. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 01:36, 12 January 2015 (UTC) |
: Yes, it was inadvertently copied from the previous line. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 01:36, 12 January 2015 (UTC) |
||
== The moving of 80386 to x86 Assembly == |
== The moving of 80386 to x86 Assembly == |