43S News

General discussion about calculators, SwissMicros or otherwise
User avatar
Walter
Posts: 2074
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: 43S News

Post by Walter »

dlachieze wrote:
Tue Nov 23, 2021 11:18 pm
Well, the equation editor and the solver in the latest version of Plus42 from Thomas Okken work perfectly well with a 4-level stack and the first equation from Pierre:
Merci, Didier. Also here, the equation editor is tolerant. Just the solver doesn't like it with SSIZE8 clear. We'll look into it.
DM42 SN: 00041 β
WP 43S running on this device

HP-35, HP-45, ..., HP-35S; WP 34S & WP 31S for obvious reasons; DM16L
User avatar
PierreMengisen
Posts: 246
Joined: Wed Nov 29, 2017 1:38 pm
Location: Neuchâtel CH

Re: 43S News

Post by PierreMengisen »

Walter wrote:
Tue Nov 23, 2021 10:10 pm

Set SSIZE8 and you get it solved - that's the only advice I can give you. Please take it or leave it. No use arguing with a machine.

Excuse me, but I'm not arguing with a machine. I'm testing it! Isn't that what you want?

fig01.png
fig01.png (7.32 KiB) Viewed 274 times
RefMan p.160 : Equations (in EQN) may be three parentheses deep with SSIZE8 clear, seven
parentheses deep with SSIZE8 set.

So this is not true. To be corrected
Pierre
[TI59 with PC100C; TI-84 Plus CE-T; HP41CV with HP IL loop & 2*82161A DCD & 82162 TP; HP15C; HP28S; DM41; DM41L; DM42; DM41X]
dlachieze
Posts: 354
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: 43S News

Post by dlachieze »

PierreMengisen wrote:
Wed Nov 24, 2021 9:42 am
RefMan p.160 : Equations (in EQN) may be three parentheses deep with SSIZE8 clear, seven parentheses deep with SSIZE8 set.
To my knowledge Plus42 doesn’t have any similar limitation, I tested successfully an 8 parentheses deep equation with a 4-level stack.

I think that’s because it has a NSTACK mode where the stack depth is limited only by the memory available and when it translates the equations to user code for execution it enables the NSTACK mode (to be confirmed by Thomas).
DM42: 00425 - DM41X: β00066
User avatar
Walter
Posts: 2074
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: 43S News

Post by Walter »

I could not find any similar limits in the HP-27S either. No idea how HP solved this problem way back then. Does anyone know?
DM42 SN: 00041 β
WP 43S running on this device

HP-35, HP-45, ..., HP-35S; WP 34S & WP 31S for obvious reasons; DM16L
User avatar
akaTB
Posts: 645
Joined: Tue May 02, 2017 1:56 pm
Location: Milan, Italy

Re: 43S News

Post by akaTB »

Greetings,
    Massimo
ajcaton
-+×÷ left is right and right is wrong :twisted: Casted in gold
dlachieze
Posts: 354
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: 43S News

Post by dlachieze »

Walter wrote:
Wed Nov 24, 2021 11:33 am
I could not find any similar limits in the HP-27S either. No idea how HP solved this problem way back then. Does anyone know?
The 27S as the 18C, which was the first HP calculator with a built in equation solver, has an underlying system RPL OS, so it has access to an unlimited stack.
DM42: 00425 - DM41X: β00066
User avatar
Walter
Posts: 2074
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: 43S News

Post by Walter »

Aha. Grazie, merci, and thanks for your input.
DM42 SN: 00041 β
WP 43S running on this device

HP-35, HP-45, ..., HP-35S; WP 34S & WP 31S for obvious reasons; DM16L
dlachieze
Posts: 354
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: 43S News

Post by dlachieze »

dlachieze wrote:
Wed Nov 24, 2021 11:12 am
when [Plus42] translates the equations to user code for execution it enables the NSTACK mode (to be confirmed by Thomas).
confirmed
DM42: 00425 - DM41X: β00066
User avatar
Walter
Posts: 2074
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: 43S News

Post by Walter »

dlachieze wrote:
Wed Nov 24, 2021 5:13 pm
dlachieze wrote:
Wed Nov 24, 2021 11:12 am
when [Plus42] translates the equations to user code for execution it enables the NSTACK mode (to be confirmed by Thomas).
confirmed
Merci. Seen.
DM42 SN: 00041 β
WP 43S running on this device

HP-35, HP-45, ..., HP-35S; WP 34S & WP 31S for obvious reasons; DM16L
User avatar
PierreMengisen
Posts: 246
Joined: Wed Nov 29, 2017 1:38 pm
Location: Neuchâtel CH

Re: 43S News

Post by PierreMengisen »

Question :
I can't find a way to use the PI constant in the equation editor other than with "acos(-1)" in radients mode,
which is not very practical. :?:
Pierre
[TI59 with PC100C; TI-84 Plus CE-T; HP41CV with HP IL loop & 2*82161A DCD & 82162 TP; HP15C; HP28S; DM41; DM41L; DM42; DM41X]
Post Reply