Post Reply 
(Free42) not a bug - COMB
07-13-2020, 12:22 PM
Post: #4
RE: (Free42) not a bug - COMB
(07-13-2020 12:03 PM)Paul Dale Wrote:  This looks like it would only address the specific example. Other cases would still overflow.

The 34S uses logΓ with a forced rounding to integer: \( ^nC_r = e^{logΓ(n) - logΓ(r) - logΓ(n - r)} \)

This risks cancellation of digits by subtraction.


Pauli

No, it doesn't. As long as the final result is less than 1e6145, it will return it - otherwise it overflows, as it should. There are hundreds of cases like this for which the current COMB overflows. It's nitpicking, perhaps - but to simulate an HP, you have to pay attention to detail :-)
Werner

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(Free42) not a bug - COMB - Werner - 07-13-2020, 11:36 AM
RE: (Free42) not a bug - COMB - Paul Dale - 07-13-2020, 12:03 PM
RE: (Free42) not a bug - COMB - Werner - 07-13-2020 12:22 PM
RE: (Free42) not a bug - COMB - Werner - 07-13-2020, 01:16 PM
RE: (Free42) not a bug - COMB - Werner - 07-13-2020, 12:28 PM
RE: (Free42) not a bug - COMB - Werner - 07-14-2020, 06:57 AM



User(s) browsing this thread: 2 Guest(s)