HP-33S polar-coordinate bug -- another manifestation



#5

Here is another manifestation of the HP-33S polar-coordinate conversion bug, that was identified by "Steve A" and investigated by me at this link:

Polar Conversion bug in HP-33S

Basically, if a coordinate pair (-0,y) is entered (y not = 0), then the angle of the polar-coordinate conversion is not computed correctly.

This problem is also manifested in the complex-valued natural-logarithm function "CMPLXLN", since:

CMPLXLN (x + i*y) = 0.5*ln (x2 + y2) + i*["atan2" (y, x)]    

where "atan2" is the intrinsic function in Fortran and C that gives the correct angle of the polar-coordinate conversion.

It is easy to see that the simplest way to calculate CMPLXLN is to convert the complex-valued input argument into polar coordinates, then take the natural logarithm of the magnitude (radius).

On the 33s, try:

10 ENTER 0 (left shift) CMPLX LN 

You will get the correct answer 2.3026 + i*1.5708

Then, try:

10 ENTER 0 +/- (left shift) CMPLX LN 

You will get the incorrect answer 2.3026 + i*4.7123 (where 4.7123 = 1.5*pi radians = 270 degrees, which is the angle that "->theta,r" will give).

-- KS

Edited: 31 Aug 2004, 2:30 a.m.


#6

This may be a well worn argument, but why didn't HP use a hardware interpretor for the existing Saturn code? I'm sure it would have avoided all these teething bugs which is taking the shine off of the HP33S, it would also have given access to the large library of Saturn code.

PS well done for all those finding and researching the errors, any news from HP on these??? Perhaps HP should equip the HP33S with flash memory and soem i/o for later upgrades!


#7

Any I/O would have resulted in this beast not being allowed on the NCEES exams. The 42s only has IR output and long variable names and that was enough to get it banned.

I wish Hp had just re-released the Hp42s with 32-128K ram, serial or USB port (no real need for IR), and toss in the 48G units conversions. And use the old hardware and form factor (shave of a cm off the top would be even better). I would buy 3 of those today, right now, even at the 49G+ list price.

But that is probably why the Hp42s was NEVER marketed or sold at the same price as the Hp17B. Because it robbed sales from Hp's flagship calculator, The HP48G series.

Rant off.

#8

Hi...

Quote:
...may be a well worn argument, but why didn't HP use a hardware interpretor for the existing Saturn code? I'm sure it would have avoided all these teething bugs

Probably a time & development constraint. Kinpo couldn't be trained quickly enough in Saturn architecture, and maybe doing an emulator would be tricky for them. (It's not, but that might be perception.)

I'm wondering - the way co's move depts and work around to different facilities - if HP even _has_ the 32S(II) ROM source around anymore!

They shoulda done this with a Nut emulator for the HP12CP as well. Again, finding anyone in HP that knows the Nut CPU would be impossible.


> Perhaps HP should equip the HP33S with flash memory
> and some i/o for later upgrades!

I/O may violate school & exam standards though it would be nice.

Given the HP33S price slot and projected price declines, they can only afford to put in a $0.50-$0.70 CPU. Flash CPUs are much more expensive than mask ROM CPUs because the flash memory area is much much larger: not only are the flash bit cells bigger but there are charge pump areas next to the flash memory that take up die area. A 32KB flash ROM CPU is gonna cost at least around $1 more (approx). That's $2.50-$3 change in the end-user price.

[In fact, the 65C02 CPU core in the Sunplus chip in the 33S could well be smaller than 32KB of flash memory!!!]


Bill Wiese

San Jose


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP 35s polar/rectangular conversion CD Dodds 6 491 11-28-2013, 02:39 PM
Last Post: Dieter
  HP Prime graphing bug BruceH 1 313 11-19-2013, 08:14 AM
Last Post: Joe Horn
  HP Prime - another cosmetic bug BruceH 3 389 11-12-2013, 02:18 PM
Last Post: Ken Shaw
  Rectangular to Polar, Polar to Rectangular – One more time Jeff O. 0 219 11-06-2013, 11:32 AM
Last Post: Jeff O.
  More programs for polar-rectangular conversion on HP Prime Michael de Estrada 4 410 11-04-2013, 12:43 AM
Last Post: Michael de Estrada
  HP Prime Bug bluesun08 19 1,279 10-14-2013, 10:48 PM
Last Post: Han
  OT--Hyperbolic Polar<-->Rectangular Coordinates Matt Agajanian 2 240 09-30-2013, 08:53 PM
Last Post: Matt Agajanian
  HP Prime bug in EDITMAT Han 7 622 09-27-2013, 10:15 AM
Last Post: Han
  [HP 39Gii] - Bug report Jean-Michel 1 304 08-28-2013, 10:53 AM
Last Post: Tim Wessman
  Is the HP-35S bug free? Matt Agajanian 22 1,430 07-01-2013, 04:03 PM
Last Post: Andrés C. Rodríguez (Argentina)

Forum Jump: