HP Forums
HP 42S COMB bug? - 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: HP 42S COMB bug? (/thread-17122.html)

HP 42S COMB bug? - Ken Garges - 05-05-2002

I discovered what I think is a bug in my HP 42S.

Suppose you want to figure the number of Combinations of 8 things taken 5 at a time. But you mistakenly enter the arguments in opposite order:


You get an "Invalid Data" error message. Fine. So you press X EXCHANGE Y to put them in the right order. The display confirms 8 in the Y register and 5 in the X register. But if you press COMB you still get the "Invalid Data" error!

In fact the calculator seems to get stuck in a mode where ANY inputs to COMB give "Invalid Data" error. Clearing X, the whole stack, power cycling don't get it out of this mode. The only way I've found to get back to normal is to perform some arithmetic.

For example, multiply the 5 in the X register by 1:

then gives the correct answer of 56.

Anyone else seen this?

Re: HP 42S COMB bug? - Peter Lampione - 05-05-2002

Yes, it is a classic bug. I saw it documented on some
article, perhaps in the Forum.


Re: HP 42S COMB and PERM bug. - Andrés C. Rodríguez (Argentina) - 05-05-2002

Yes, it is a well known bug, and affects COMB and PERM the same way.

Re: HP 42S COMB and PERM bug. - Karl Schneider - 05-06-2002

Ken, Peter and Andres --

I can't replicate the error you describe on my 1989 HP-42S (serial # 2939S33496). Simply re-executing COMB or PERM throught the PROB menu, after pressing X<>Y following the "Invalid Data" message, gives me the correct answers. Was this error characteristic of late or very early units?

Re: HP 42S COMB and PERM bug. - Iqbal - 05-06-2002

I checked 5 HP42S and only one didn't display the bug. That one was made in the USA in 1988.
The other four made between 1993 to 1999 all displayed the bug. If I had to guess I would say it only occurs in the later models.

Re: HP 42S COMB and PERM bug. - Andrés C. Rodríguez (Argentina) - 05-07-2002

I had a 1990 model which I service-exchanged in 1999, and both displayed the bug.