Dividing factorials on 15C CE
|
01-11-2024, 10:04 PM
Post: #25
|
|||
|
|||
RE: Dividing factorials on 15C CE
(01-11-2024 07:13 PM)David Hayden Wrote:(01-10-2024 07:54 PM)Thomas Klemm Wrote: I just hope we clarified that David was not talking about the division 49/2 but about (1 * 50/1 * 49)/2.Exactly right. When we evaluate 1 * 50 / 1 * 49 / 2 * 48 / 3 * 47 / 4 * 46 / 5 * 45 / 6 * 44 / 7 * 43 / 8 * ... * 7 / 44 * 6 / 45 from left to right, each division results in an integer. Yes, it's an integer, but not necessary free of rounding errors if the intermediate results exceed the digit capacity of the machine. This could happen here on a 15c for instance (if it was using this implementation for comb, that it does not) since the intermediate values exceed 1e14 for a final result of about 2118760. J-F |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)