SUM function on WP-34S - Printable Version +- HP Forums ( https://archived.hpcalc.org/museumforum)+-- Forum: HP Museum Forums ( https://archived.hpcalc.org/museumforum/forum-1.html)+--- Forum: Old HP Forum Archives ( https://archived.hpcalc.org/museumforum/forum-2.html)+--- Thread: SUM function on WP-34S ( /thread-218358.html) |

SUM function on WP-34S - Thomas Scott - 04-18-2012
Perhaps I'm doing something wrong, but I do not get the correct answers using the SUM function (under the STAT menu)for sum of x & y.
Tom Scott
Re: SUM function on WP-34S - Walter B - 04-18-2012
Thanks for reporting. To handle your message properly it would be quite helpful to *know* what you did and what you got. TIA d:-)
Re: SUM function on WP-34S - Nigel J Dowrick - 04-18-2012
I'm running build 2747 and I also have a problem. Here are the number that I entered:
Clear Sigma The Sums menu reports the sum of X to be 55 and the sum of Y to be 15 (correctly). However, SUM from the STAT menu (which I hadn't noticed before!) returns the numbers -8.22E-279 and -8.33e-80 to the x and y registers.
Nigel (UK)
Re: SUM function on WP-34S - Walter B - 04-18-2012
Thanks for reporting. I already have an idea what caused this. Has to be repaired for sure :-)
Re: SUM function on WP-34S - Walter B - 04-18-2012
For build 2823, the emulator returns correct results. Please update :-)
Re: SUM function on WP-34S - Nigel J Dowrick - 04-18-2012
I've just updated my calculator to build 2823 and the problem remains. The same input (or indeed any input that I have tested) causes SUM to return the same two strange numbers as in my previous post.
Nigel (UK)
Re: SUM function on WP-34S - Walter B - 04-18-2012
We are working on it ...
Re: SUM function on WP-34S - Fixed! - Marcus von Cube, Germany - 04-18-2012
I can't reproduce it here on the emulator. I have to test on the device. Edit: Outch, that hurts! It's a device only problem. Now I need to start my hardware debugger again. :-( Edit again: I think I fixed it. :-)
Re: SUM function on WP-34S - Fixed! - Nigel J Dowrick - 04-18-2012
Works for me! Thank you (again). Time for bed!
Nigel (UK)
Re: SUM function on WP-34S - Fixed! - fhub - 04-18-2012
Quote:Well Marcus, then I hope you have time for fixing me? ;-) It has also to do with SUM, because after reading this thread here I was more than confused! I remember from WP34s V2 that there were library files sum/product.wp34s which had functions to build the sum/product looping over a user-defined function. And I still can find this code in V3, now it's in XROM and combined into prodsum.wp34s. But in this thread I read now that SUM just return Sx and Sy of the statistics registers!? So I checked the manual and found the description for the SUM command (but only for Sx/Sy), but no PRD, PROD or PRODUCT at all.
Now I'm really confused: what has happend to these commands from V2? Franz
Re: SUM function on WP-34S - Fixed! - Paul Dale - 04-18-2012
Look for capital sigma and pi in the manual.
- Pauli
Re: SUM function on WP-34S - Fixed! - fhub - 04-18-2012
Quote:Oh my god, how could I overlook this!? But the name SUM was so obviously pointing into this direction ...
Thanks, |