10bii+ Trig Bug



#4

I was just thinking about what the 10bii+ would be like as a re-purposed RPN calculator and playing around with it when I found a trig bug. Try this in degrees mode:

270
SIN
(you'll correctly get -1.00)
270
TAN
(you'll see OFLO flash and get correctly get -1.00E500)
270
COS
(you'll correctly get 0.00)
270
TAN
(you'll see OFLO flash and get 1.00E500 -- the bug)

This is in version 7-13-2010. I hope that this is the only bug, I use the 10bii+ a bunch and find it to be a really nice (if non-RPN) machine.

-Katie

p.s. There's still a yet-to-be-found Easter Egg in there.

Edited: 5 July 2011, 10:51 p.m.


#5

I have not been able to reproduce the sign change thing. Is that what you are referring to? Or the fact that it does the overflow and then returns a number?

270 is undefined as it is an infinity sign change. Could you please explain more?

TW

Edited: 5 July 2011, 11:52 p.m.


#6

Correct, I am referring to the sign change.

In the first case the TAN of 270 returns -1.00E500 in the second it returns +1.00E500. You need to do these steps in the order I wrote starting with a ALL CLEAR. I can reproduce this on both 10bii+ calculators that I have.

I realize that TAN 270 is infinite but in one case it's negative infinity and the other it's positive infinity. Apparently the sign of the last result obtained before the TAN function is the determining factor.


More....

Actually, it turns out that an overflow condition always carries over the sign from the previous calculation. This happens even for something like factorial, for example:

1
-
2
=
300
!

results in -1.00e500

The 10bii (not +) results in +1.00e500


Edited: 6 July 2011, 1:54 a.m.

#7

A side note: It would be very esthetic to omit a (likely wrong) result at all on overflow.

Edited: 6 July 2011, 5:21 a.m.


#8

I agree and I believe that the 20b/30b takes this approach. However the 10bii+ was intended to replace the 10bii and needs to be upwardly compatible with it in all respects. One of which is just flashing OFLO and returning 1e500 when an overflow occurs.


#9

Yes, the 20b at least omits it.

Just noticed the german error message on overflow (300!): "Keine Amortisation". Strange.


Possibly Related Threads…
Thread Author Replies Views Last Post
  10bii Financial Calculator is on launch sale - 0.99$ only John 4 2,034 11-10-2013, 08:02 PM
Last Post: BShoring
  Trig vs hyperbolic handling differences in Prime CAS Michael de Estrada 3 1,616 11-08-2013, 06:26 PM
Last Post: Mark Hardman
  Trig Functions Howard Owen 11 3,648 09-16-2013, 02:53 PM
Last Post: Fred Lusk
  trig scales on the Post Versalog slide rule Al 12 3,784 09-15-2013, 06:01 AM
Last Post: John I.
  10BII LCD Repair K Gobeski 0 986 06-19-2013, 08:58 AM
Last Post: K Gobeski
  any open source HP 10BII emulators? John 15 4,828 06-12-2013, 09:58 AM
Last Post: Kimberly Thompson
  Some trig help, please Matt Agajanian 33 7,468 04-12-2013, 06:39 PM
Last Post: Matt Agajanian
  Trig Identity question Namir 13 3,564 03-04-2013, 07:45 PM
Last Post: Eric Smith
  Question about trig functions approximation Namir 8 2,581 01-10-2013, 06:49 AM
Last Post: Valentin Albillo
  WP 34S Complex trig/hyperbolic bugs? Eamonn 35 8,758 04-26-2012, 07:32 PM
Last Post: Pete Wilson

Forum Jump: