34s / 16C Compat. #5 - DBL/



#6

Hi,

Using 34S build 874, I was attempting the double-word divide example in the 16C manual on page 54. With 2's compliment mode and a word size of 5, an attempt was made to divide the double word representation of -88 decimal in Y and Z by the single-word 11 decimal in X to get the single-word result in X of -8 decimal. All values were entered in binary, so the sequence is:
1000 ENTER 11101 ENTER 1011 DBL/ and the expected result is 11000 binary. Only, on the 34S I get zero as a result with the carry flag set. It does work on my 16C. The followup example in the manual on pages 54-55 does work, however, using unsigned mode and 64-bit word size. Any ideas?

Thanks,
Jake


#7

Another integer bug :-(

This one is broken. There is a problem joining the two halves of the number together when the word size is not 64. DBLMOD is broken too.

DBL* will likely have problems with negatives as well :-(


- Pauli

#8

And hopefully fixed in the next build :-)


- Pauli

#9

That's really thorough beta testing - many SW development firms would pay big bucks for this... well, assuming they're after a real quality product instead of larger profits of course.

Cheers,
'AM.


#10

I'm glad someone is going through the integer mode in depth. Various people found quite a few bugs in the real mode fairly quickly and integer mode really needs similar attention.

I tried to test when I coded everything but there was so much to implement and so many special cases. And things have changed quite a bit over time resulting in bit rot in the code.


Still, I think we're getting close to a decent calculator.

I've actually started using mine for real calculations at work :-)


- Pauli


#11

Pauli,

how is your one looking? What type of overlay are you using?


#12

My overlay hasn't changed from the picture posted here.

Sadly, I don't need an overlay, I know what all the keys do :-)


- Pauli

#13

Quote:
I'm glad someone is going through the integer mode in depth.

Hi,

It is my intention to work through the entire 16C manual and report any anomalies....as long as I'm not considered a pain, I'll keep doing it.

Thanks for everyones' diligent work,
Jake


#14

Hi Jake, all,

as mentioned we appreciate all testing very much - it's quite obvious we can't do it alone nor will we be so successful as any thorough (wo)man not being part of the development team. So thanks for the checks you've done already - and in advance for those to come :-)

Walter


Possibly Related Threads...
Thread Author Replies Views Last Post
  Bought a 16C to compensate a little Eelco Rouw 23 4,458 12-07-2013, 01:26 PM
Last Post: Eelco Rouw
  Shiny new 16C! Keith Midson 7 1,512 10-27-2013, 02:22 AM
Last Post: Keith Midson
  HP-16C simulator fhub 12 2,161 06-30-2013, 10:14 PM
Last Post: Robert Prosperi
  Program for HP-16c... Leonid 9 1,683 06-07-2013, 08:51 PM
Last Post: David Hayden
  HP 11C/12C/15C/16C case Philippe Cairic 4 1,294 11-06-2012, 06:04 PM
Last Post: Matt Agajanian
  Understanding HP-16C integer division Jimi 18 3,047 10-16-2012, 09:13 PM
Last Post: Eddie W. Shore
  Hack a 15C-le into a 16C? David Griffith 20 3,047 12-23-2011, 07:00 AM
Last Post: robert rozee
  [wp 34s] wp 34s picture and scan Jeroen Van Nieuwenhove 2 672 10-27-2011, 09:02 PM
Last Post: Les Wright
  has 16C memory increased? designnut 4 1,015 09-06-2011, 05:32 PM
Last Post: uhmgawa
  wp34S - 16C Compatibility #7 - MASKL, MASKR Jake Schwartz 1 620 06-06-2011, 04:40 AM
Last Post: Paul Dale

Forum Jump: