HP33S bug subtracting degrees from minutes?


Is the following a known HP33S bug?

Subtract ONE DEGREE from ONE MINUTE and you should get NEGATIVE 0 DEGREES 59 SECONDS. However, the HP33S returns NEGATIVE 0 DEGREES 58 MINUTES 20 SECONDS.

If you subtract ONE DEGREE from 4 MINUTES, you should get NEGATIVE 56 MINUTES, but instead, the HP33S returns NEGATIVE 55 MINUTES 20 SECONDS.

Am I doing something wrong?


>> you should get NEGATIVE 0 DEGREES 59 SECONDS

Sorry about the typo... I should have typed NEGATIVE 0 DEGREES 59 MINUTES 0 SECONDS...


The ->HMS function on the 33S has a bug; it does not always work correctly with negative numbers. It apparently can be trusted with positive numbers. This has been documented by HP in the "User's Manual Update" at


I programmed a simple "alternative" ->HMS function on my 33S, which is assigned to XEQ 5 (instead of right-shift 5). The "alternative" function checks to see if the input is negative. If it is, then it changes the sign, runs ->HMS, and restores a negative sign to the result. The program uses flag 4.

CF 4
x<0 ?
SF 4
FS? 4
FS? 4
CF 4

You should also be aware of the polar conversion bug, which is also documented in the "User's Manual Update"

Possibly Related Threads...
Thread Author Replies Views Last Post
  HP PRIME - How to convert TICKS in hours, minutes, seconds giancarlo 10 1,358 11-12-2013, 08:01 AM
Last Post: Harold A Climer
  PRIME: 5 minutes' use, now $115 Peter Murphy (Livermore) 3 731 10-27-2013, 10:49 PM
Last Post: Michael de Estrada
  HP-35A/21 D.MS<-->Decimal degrees routines Matt Agajanian 9 1,358 03-29-2012, 11:03 AM
Last Post: Matt Agajanian
  Degrees conversion for trigonometric function Beth Snipes 2 536 08-30-2011, 03:32 PM
Last Post: Beth Snipes
  CORDIC in Degrees vs. Radians Mike Fikes 5 772 07-24-2011, 04:49 AM
Last Post: Eric Smith
  So leaving the board in one piece takes 5 minutes? Egan Ford 10 1,223 10-07-2010, 04:01 PM
Last Post: BruceH
  Is the HP33S is the only game in town? John Noble 28 3,023 11-16-2009, 10:18 AM
Last Post: John Noble
  Sudden death of HP33S batteries Dave Shaffer (Arizona) 1 434 03-12-2008, 11:54 PM
Last Post: Trent Moseley
  HP33s has more programing power than one might think Howard Boardman 6 1,274 08-23-2007, 10:20 AM
Last Post: Dallas Osborne
  My First Five Minutes with a TI nSpire Howard Owen 12 1,432 08-13-2007, 11:41 PM
Last Post: Howard Owen

Forum Jump: