10bii+ Trig Bug « Next Oldest | Next Newest »

 ▼ Katie Wasserman Posting Freak Posts: 1,477 Threads: 71 Joined: Jan 2005 07-05-2011, 10:50 PM 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. ▼ Tim Wessman Posting Freak Posts: 1,278 Threads: 44 Joined: Jul 2007 07-05-2011, 11:51 PM 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. ▼ Katie Wasserman Posting Freak Posts: 1,477 Threads: 71 Joined: Jan 2005 07-06-2011, 01:24 AM 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. Thomas Radtke Posting Freak Posts: 1,089 Threads: 32 Joined: Dec 2005 07-06-2011, 05:21 AM 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. ▼ Katie Wasserman Posting Freak Posts: 1,477 Threads: 71 Joined: Jan 2005 07-06-2011, 11:42 AM 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. ▼ Thomas Radtke Posting Freak Posts: 1,089 Threads: 32 Joined: Dec 2005 07-06-2011, 05:01 PM 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 1,498 11-10-2013, 08:02 PM Last Post: BShoring Trig vs hyperbolic handling differences in Prime CAS Michael de Estrada 3 1,167 11-08-2013, 06:26 PM Last Post: Mark Hardman Trig Functions Howard Owen 11 2,622 09-16-2013, 02:53 PM Last Post: Fred Lusk trig scales on the Post Versalog slide rule Al 12 2,768 09-15-2013, 06:01 AM Last Post: John I. 10BII LCD Repair K Gobeski 0 716 06-19-2013, 08:58 AM Last Post: K Gobeski any open source HP 10BII emulators? John 15 2,987 06-12-2013, 09:58 AM Last Post: Kimberly Thompson Some trig help, please Matt Agajanian 33 5,206 04-12-2013, 06:39 PM Last Post: Matt Agajanian Trig Identity question Namir 13 2,550 03-04-2013, 07:45 PM Last Post: Eric Smith Question about trig functions approximation Namir 8 1,779 01-10-2013, 06:49 AM Last Post: Valentin Albillo WP 34S Complex trig/hyperbolic bugs? Eamonn 35 6,167 04-26-2012, 07:32 PM Last Post: Pete Wilson

Forum Jump: