43S Alternative key layout --> WP43C

General discussion about calculators, SwissMicros or otherwise
User avatar
Jaymos
Posts: 693
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

invariant wrote:
Sat Apr 03, 2021 2:18 am
Thanks for this project!

To build, I like to use Clang, rather than GCC because of some nice tooling that it provides for profiling and debugging. However, C43 uses a gcc-only extension (which WP43S doesn't use): nested functions in C (i.e. void blah() { void meh() {} }). Would you consider a patch to extract those from their outer function?

It'd make C43 more portable (and respectful of the C standard!).
We discontinued the use of the nested functions, and we also updated the header files with proper external declarations so that there are no such errors. (To be honest I used that in ignorance of the standard!)

The latest revisions (see the ‘latest’ branch) compile on my Windows gcc and Mac clang compilers with only minor warnings.

Thanx for the comment.
Jaco Mostert
Elec Eng, South Africa
C43 (WP34C) on DM42 sn. 03818 & 06199 for complex math, HP42S; HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; owned FX702P & 11C; used HP67 & HP85; iOS: 42s Byron, Free42, WP31S/34S, HCalc.
User avatar
pica
Posts: 49
Joined: Fri Mar 30, 2018 11:36 am
Location: Eswatini

Re: 43S Alternative key layout --> WP43C

Post by pica »

There seems to be a bug with the display format in the WP43C simulator.
At first I thought the problem was with the constants library, but then I saw that it affects any very big or very small number.
For example Avogadro's number, with SCI₃ or ENG₃, it displays correctly.
SCI3-2021-04-03 14-57-39.png
SCI3-2021-04-03 14-57-39.png (3.8 KiB) Viewed 384 times
With FIX₃ or SIG₃ , the display is zero.
FIX3-2021-04-03 14-58-25.png
FIX3-2021-04-03 14-58-25.png (3.69 KiB) Viewed 384 times
The WP43S does not have this problem.
Have owned HP10C HP32SII.
Currently use HP50G Free42 DM42.
Testing WP43S, C43.
User avatar
Jaymos
Posts: 693
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

pica wrote:
Sat Apr 03, 2021 3:07 pm
There seems to be a bug with the display format in the WP43C simulator.
At first I thought the problem was with the constants library, but then I saw that it affects any very big or very small number.
For example Avogadro's number, with SCI₃ or ENG₃, it displays correctly.
SCI3-2021-04-03 14-57-39.png

With FIX₃ or SIG₃ , the display is zero.
FIX3-2021-04-03 14-58-25.png

The WP43S does not have this problem.
I will fix it, thanx for finding it!
Jaco Mostert
Elec Eng, South Africa
C43 (WP34C) on DM42 sn. 03818 & 06199 for complex math, HP42S; HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; owned FX702P & 11C; used HP67 & HP85; iOS: 42s Byron, Free42, WP31S/34S, HCalc.
User avatar
Jaymos
Posts: 693
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

Found the FIX bug, which was also evident in the SIG mode.
Fixed it in the development branch. Will upload a sim in a few days.
Thanx
.
Clipboard60.png
Clipboard60.png (4.07 KiB) Viewed 346 times
Jaco Mostert
Elec Eng, South Africa
C43 (WP34C) on DM42 sn. 03818 & 06199 for complex math, HP42S; HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; owned FX702P & 11C; used HP67 & HP85; iOS: 42s Byron, Free42, WP31S/34S, HCalc.
User avatar
pica
Posts: 49
Joined: Fri Mar 30, 2018 11:36 am
Location: Eswatini

Re: 43S Alternative key layout --> WP43C

Post by pica »

Jaymos wrote:
Sun Apr 04, 2021 12:24 am
Found the FIX bug, which was also evident in the SIG mode.
Fixed it in the development branch. Will upload a sim in a few days.
Thanx
.
Clipboard60.png
This is great.
Pocket calculators came out in the 1970s. Why, I wonder, has it taken until now for (one) calculator to appear that displays significant figures when this is what is needed for most everyday and engineering tasks?
Have owned HP10C HP32SII.
Currently use HP50G Free42 DM42.
Testing WP43S, C43.
User avatar
Jaymos
Posts: 693
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

pica wrote:
Sat Apr 10, 2021 12:26 pm
Jaymos wrote:
Sun Apr 04, 2021 12:24 am
Found the FIX bug, which was also evident in the SIG mode.
Fixed it in the development branch. Will upload a sim in a few days.
Thanx
.
Clipboard60.png
This is great.
Pocket calculators came out in the 1970s. Why, I wonder, has it taken until now for (one) calculator to appear that displays significant figures when this is what is needed for most everyday and engineering tasks?
I loved it from the moment I first saw the hack on the WP34S from Nigel(UK). And some changes by Bit, here.

Googling it now to find the Bit and Nigel references to quote, I found my own document, which I have forgotten I had written, with an example showing sigfig, here.
Jaco Mostert
Elec Eng, South Africa
C43 (WP34C) on DM42 sn. 03818 & 06199 for complex math, HP42S; HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; owned FX702P & 11C; used HP67 & HP85; iOS: 42s Byron, Free42, WP31S/34S, HCalc.
User avatar
Jaymos
Posts: 693
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

Jaymos wrote:
Sat Apr 10, 2021 3:00 pm
Googling it now to find the Bit and Nigel references to quote, I found my own document, which I have forgotten I had written, with an example showing sigfig, here.
Did not know there was still interest. I got complaints that the doc that I shared does not have working links. It seems those were stripped by who-ever (or which-ever machine) placed it on that doc website. I have no knowledge of that.

It is a bit off-topic here, so to close the loop and WP34S discussion, just a reference to the original document (with working PDF links) inside my last 100 MB firmware/doc bundle that I published here in 2019.
Jaco Mostert
Elec Eng, South Africa
C43 (WP34C) on DM42 sn. 03818 & 06199 for complex math, HP42S; HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; owned FX702P & 11C; used HP67 & HP85; iOS: 42s Byron, Free42, WP31S/34S, HCalc.
Post Reply