The Museum of HP Calculators

HP Forum Archive 21

 Typo in wp34s ManualMessage #1 Posted by Barry Mead on 23 July 2013, 4:02 a.m. While researching the Factorial Inconsistency, I discovered a small typo in the manual. On page 181 of the printed manual or 162 of the 3.1 online pdf manual under the description of "Domain Error" the manual states that logs of x <= 0 will return the "Domain Error". This is not correct. Logs of x < 0 will return the "Domain Error", logs of x = 0 correctly return "- infinity error". The "x <= 0" should read "x < 0" in this case.

 Re: Typo in wp34s ManualMessage #2 Posted by Paul Dale on 23 July 2013, 4:07 a.m.,in response to message #1 by Barry Mead Almost correct, logs of -0 return domain error. - Pauli

 Re: Typo in wp34s ManualMessage #3 Posted by Barry Mead on 23 July 2013, 4:19 a.m.,in response to message #2 by Paul Dale How does one go about getting -0 into the x register? I tried and couldn't get it to ever show a -0 in the x register. Edited: 23 July 2013, 4:20 a.m.

 Re: Typo in wp34s ManualMessage #4 Posted by Paul Dale on 23 July 2013, 4:35 a.m.,in response to message #3 by Barry Mead Start by setting flag D. With this flag cleared, you can't get -0. Ln(-0) returns a NaN result with flag D set which is equivalent to a domain error. To verify this: SF D 0 +/- CF D LN results in domain error not infinite. - Pauli

 Re: Typo in wp34s ManualMessage #5 Posted by Paul Dale on 23 July 2013, 4:36 a.m.,in response to message #4 by Paul Dale Well, in integer mode you can get -0 regardless of flag D but there LN(0) always gives a domain error. - Pauli Edited: 23 July 2013, 4:37 a.m.

 Re: Typo in wp34s ManualMessage #6 Posted by Barry Mead on 23 July 2013, 4:45 a.m.,in response to message #5 by Paul Dale Perhaps the manual should read Logs x < 0 or logs of -0 return a Domain Error. Then it would be accurate for all cases.

 Re: Typo in wp34s ManualMessage #7 Posted by Paul Dale on 23 July 2013, 4:52 a.m.,in response to message #6 by Barry Mead Not in integer mode it wouldn't. No infinite results there. - Pauli

 Re: Typo in wp34s ManualMessage #8 Posted by Barry Mead on 23 July 2013, 5:26 a.m.,in response to message #4 by Paul Dale I combed through the manual, and couldn't find any special definition of what the "D" flag does. Could you enlighten me? It obviously has an affect on how numbers are stored, thus allowing the negative zero to be entered, but what is it's definition?

 Re: Typo in wp34s ManualMessage #9 Posted by Paul Dale on 23 July 2013, 5:34 a.m.,in response to message #8 by Barry Mead Page 24 in my copy of the PDF describes it briefly. There are other references to the values it permits spread throughout. Flag D does not change how numbers are stored, neither does it change how the various functions are computed. It prevents errors for infinite and NaN results and suppresses the display of the negative sign for negative zero. - Pauli

 Re: Typo in wp34s ManualMessage #10 Posted by Barry Mead on 23 July 2013, 6:03 a.m.,in response to message #9 by Paul Dale Perpetually Amazed. It never ceases to amaze me how well written and perfect this calculator is. Every math function gives the most accurate results I have ever seen anywhere. Even better than most desktop computer math libraries. I don't know how you managed to get this kind of precision everywhere.

 Re: Typo in wp34s ManualMessage #11 Posted by Walter B on 23 July 2013, 4:34 p.m.,in response to message #8 by Barry Mead About flag D: please see pp. 31, 87 (footnote 58), 116, 120, 125, 151, 180, 181 (footnote 92), and 183 of the printed manual. d:-)

 Re: Typo in wp34s ManualMessage #12 Posted by Walter B on 23 July 2013, 7:21 a.m.,in response to message #1 by Barry Mead Sounds like a little challenge. I'll think about it this evening. d:-)

 Re: Typo in wp34s ManualMessage #13 Posted by Paul Dale on 23 July 2013, 7:23 a.m.,in response to message #12 by Walter B I think it will be quite a challenge to fully document this one :) - Pauli

Go back to the main exhibit hall