Search found 45 matches

by whuyse
Tue Feb 18, 2020 7:08 pm
Forum: Software Library
Topic: Matrix Viewer
Replies: 11
Views: 407

Matrix Viewer

Matrix Viewer and rudimentary editor This is a first try, and there are tons of things I will be changing still, but it works quite well as it is. Try it out with the included test matrices M44 and C24x5. before you start MVIEW is packaged with all its subroutines, the digit font matrix DF and a few...
by whuyse
Tue Feb 11, 2020 7:08 am
Forum: OFFIMG library
Topic: OFF IMAGE AS FLASH CARDS
Replies: 2
Views: 157

Re: OFF IMAGE AS FLASH CARDS

I assign the LO routine to shift R/S and use this to turn off the calculator.
Are you sure you're talking about the DM42..?

Cheers, Werner
by whuyse
Mon Jan 20, 2020 10:58 am
Forum: DM42
Topic: DM42 skin for the Free42 simulator
Replies: 31
Views: 2467

Re: DM42 skin for the Free42 simulator

GETKEY behaves erratically on the first row of keys (not the menu keys).
The real DM42 returns 1-6 for the row S+ to XEQ, and doesn't work for the menu keys (which is a pity, BTW)
The DM42 skin returns 1-6 for the menu keys and 2192 for S+, 2072 for 1/X etc.

Cheers, Werner
by whuyse
Sun Nov 10, 2019 9:52 pm
Forum: Software Library
Topic: User Flag Catalog
Replies: 4
Views: 790

Re: User Flag Catalog

in Free42 (and the DM42) you can store up to 14 characters per register instead of only 6, using the following utilities to transform up to 14 characters to the X register (A2X) and its inverse (X2A) 00 { 77-Byte Prgm } 01>LBL "A2X" 02 ALENG 03 14 04 X>Y? 05 X<>Y 06 25600 07 0 08>LBL 03 09 % 10 ATOX...
by whuyse
Fri Oct 04, 2019 8:54 am
Forum: Software Library
Topic: Graphics utilities: H/V lines, grids and tiles
Replies: 3
Views: 1564

Re: Graphics utilities: H/V lines, grids and tiles

It’s a printout from the Dm42 itself, not compatible with the program import. To import, use the .raw file.
Cheers, Werner
by whuyse
Tue Sep 24, 2019 3:18 pm
Forum: Software Library
Topic: Graphics utilities: H/V lines, grids and tiles
Replies: 3
Views: 1564

Graphics utilities: H/V lines, grids and tiles

0. Abstract My ultimate goal is to draw a chess board. To achieve this in a modular fashion, we'll need tools to draw lines horizontally and vertically, use these to draw a grid, and then be able to fill half of the grid cells with a shading pattern. So, without further ado: 1. HLINE X Y Z T In: n ...
by whuyse
Fri May 17, 2019 10:16 am
Forum: Discuss!
Topic: Precision of the Exponential Integral on DM42
Replies: 1
Views: 1037

Re: Precision of the Exponential Integral on DM42

Show us your code, please? And that site will simply use N+k-digit arithmetic and constants to get to the precision requested (N) ie. they'll use gamma to N+k digits to guarantee the result is accurate to N digits. eg. for x=-30 the largest summation term is about 2.7e10 so an extra 10 or 11 digits ...
by whuyse
Thu Feb 28, 2019 2:36 pm
Forum: DM42
Topic: Looking forward to the DM42 update utilizing the Free42 2.023 update...
Replies: 29
Views: 5142

Re: Looking forward to the DM42 update utilizing the Free42 2.023 update...

in my second-to-last post, 'extended precision' was but an example ;-) - that's why I said 'i.a.' - it's the resulting accuracy that counts.
And yes, all of that applies to the complex case as well. A DOT product of 2 complex vectors is obtained using 4 real dot products.
Cheers, Werner
by whuyse
Thu Feb 28, 2019 2:11 pm
Forum: DM42
Topic: Looking forward to the DM42 update utilizing the Free42 2.023 update...
Replies: 29
Views: 5142

Re: Looking forward to the DM42 update utilizing the Free42 2.023 update...

We spoke of this before, can't remember whether it was here or at the hpmuseum.
There is a way to use FMAs to implement dot products, and obtain a result that is as accurate as if you used double precision.
I'll see if I can find it again,
Werner
by whuyse
Thu Feb 28, 2019 11:00 am
Forum: DM42
Topic: Looking forward to the DM42 update utilizing the Free42 2.023 update...
Replies: 29
Views: 5142

Re: Looking forward to the DM42 update utilizing the Free42 2.023 update...

Werner, do you know exactly which functions in the HP-42S use special-case logic for 2x2 matrices? I know DET does - it simply evaluates ab-cd in 15-digit precision. The others, I'll perform some tests. And what about higher-precision dot products? Obviously DOT, but matrix-matrix multiplication is...