Mini-challenge - accurate factorials
|
07-09-2023, 08:06 AM
(This post was last modified: 07-09-2023 08:29 AM by J-F Garnier.)
Post: #8
|
|||
|
|||
RE: Mini-challenge - accurate factorials
(07-08-2023 06:55 PM)DA74254 Wrote: WP43 can do 40! (07-09-2023 06:02 AM)EdS2 Wrote: Yes, that's what I was getting at - whether or not we choose to do SHOW changes the conditions a bit of course. Yes, 36! is exact in Free42, but surprisingly 40! = 8.159152832478977343456112695961164e47 has 5 ULP error. That's a lot for just 4 additional multiplications, unless Free42 doesn't use guard digits in the factorial code, which I can't believe. Edit: even more weird (on Free42): 39! = 2.039788208119744335864028173990290e46 (correct) 39! * 40 = 8.159152832478977343456112695961160e47 (just 1 ULP error, that's normal here). So what is going on with the direct 40! calculation ? J-F |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: