hp33s and factorial timing « Next Oldest | Next Newest »

 ▼ Marcel Pelletier Junior Member Posts: 5 Threads: 4 Joined: Jan 1970 07-28-2004, 09:13 PM On my hp33s (CNA41507077), 200! is very very fast but 100! is a bit slower. Why? ▼ martin cohen Junior Member Posts: 42 Threads: 5 Joined: Jan 1970 07-28-2004, 09:22 PM Interesting! Playing around a bit, 159! is fast, and 158! is slow. 157! is slow, 157.1! is fast. My guess is that for integers 158 or less, a multiplication loop is done; for other values, some variation on Stirling's formula is used. They could have started at 20 or so instead of 158. I do not know why this particular value was chosen. ▼ bill platt Posting Freak Posts: 2,448 Threads: 90 Joined: Jul 2005 07-29-2004, 09:51 AM On the original 32s, it seems that the x! is slower and slower all the way up to the overfolw limit. The Gamma function (non-integer factorial), however, is siginificantly faster---detection of the speed difference being above a threshold of around 50! Bill ▼ martin cohen Junior Member Posts: 42 Threads: 5 Joined: Jan 1970 07-29-2004, 07:20 PM As seems evident from many of the 33s discussions, the 33s was not just a port of the 32sii but a complete rewrite. I eagerly await the 33s+ with the following: Bug fixes. More variables and labels (i up to 10000, multi-character labels and variables). More readable decimal point. (The above are the essentials; the ones below are optional) Ability to turn off thousand's separator. Matrix operations. Bit fiddling (and, or, ...). 42s type graphics. Optional bigger stack. World peace. ▼ bill platt Posting Freak Posts: 2,448 Threads: 90 Joined: Jul 2005 07-29-2004, 07:34 PM Hi Martin I would add "editability of equations" to the must have part. If it had that, then the machine would be capable of functioning like the "formula entry" machines out there--giving it a tri-functionality: RPN, old-time ALG-postfix, and Formula. To put the "answer int oa chain of formulas, I suppose you would merely send the evaluation into a variable, and use the variable in the next chain---but an "ans" button could be used, too (like, who needs the cube root feature-replace it!). I would also change the equation writing system to eliminate the existence of the "unary minus." I find that to be an annoying business--different from machine to machine. (Much worse on the 32sii BTW because it is evaluated before y^x in most but not all circumstances!). The 17bii has no unary minus, and evaluates each minus sign to "reverse" the sign one by one, in other words, you can have 4*---7 in the equation list, and it will evaluate to -28. If you do the same on a 48GX, in 'algebraic' it will parse it to '4*-7' when it is entered to the stack. b If you try '4-*7' it will catch the error during the parsing, and tell you to fix it. These sorts of behaviors make more sense to me. Regards, Bill ▼ Steve A Junior Member Posts: 24 Threads: 2 Joined: Jan 1970 07-30-2004, 05:06 AM I'd make a change to the keypad. Now that I've used the 33s for a few weeks, I find no general problems with the chevron layout. I'm barely even aware of it. *Except* for the four way 'cursor' key, and the four function keys next to it. Left and right are OK, and down is very good, but I often don't get the 'Up' properly. I also find those mode/eng etc. keys a bit fiddly, but perhaps my thumb is too fat ;) Steve.

 Possibly Related Threads... Thread Author Replies Views Last Post Factorial misbehavior Han 10 688 10-09-2013, 02:36 AM Last Post: Ed Hodapp HP41C: Factorial (kind of) in MCODE Frido Bohn 7 604 05-26-2012, 09:18 AM Last Post: Frido Bohn wp34S timing crystal Peter Mansvelder 30 1,687 01-24-2012, 03:49 AM Last Post: Bart (UK) HP 15c LE Display timing issues? Michael Kussmaul 5 441 10-02-2011, 12:07 PM Last Post: Michael Kussmaul 34s: Anyone have an instruction timing table? Gene Wright 15 941 07-19-2011, 11:28 PM Last Post: Paul Dale Is the HP33S is the only game in town? John Noble 28 1,726 11-16-2009, 10:18 AM Last Post: John Noble Gamma (and Factorial) for 12C/12CP Les Wright 9 621 02-02-2009, 06:18 PM Last Post: Egan Ford Gamma and Factorial for 10C/12C/12CP (thread hijack) Les Wright 1 278 01-28-2009, 08:19 PM Last Post: Egan Ford MCODE Timing Allerlei PeterP 33 1,806 05-26-2008, 02:41 PM Last Post: Meindert Kuipers Sudden death of HP33S batteries Dave Shaffer (Arizona) 1 216 03-12-2008, 11:54 PM Last Post: Trent Moseley

Forum Jump: