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



Post: #10

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


Post: #11

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

Post: #12

And hopefully fixed in the next build :-)


- Pauli

Post: #13

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.


Post: #14

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


Post: #15

Pauli,

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


Post: #16

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

Post: #17

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


Post: #18

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


Forum Jump: