So does any other.
Didier was only pointing out that even in FAST mode, the DM41X will always be slower than the DM42 because it is an emulator, not a simulator, which is what gets you the level of compatibility that the DM41X offers.
So does any other.
also the routines for triangles (SSS, ASA...), complex root (Z↑1/N), INTG, INTEG from MATH and Advantage seem to work fine in FAST, and also the routines in Navigation.
What is the result of the original HP41CX?salvomic wrote: ↑Thu Oct 15, 2020 3:49 pmabout this, I tested a short integral from an old thread in HP Museum:
in DM41X with Advantage module create a function FX:then (accuracy 0.01)Code: Select all
LBL "FX" 1 X<>Y - SQRT 1/X END
Slow: 01:34:00Code: Select all
FIX 02 ALPHA: FX 0 ENTER 1 XEQ INTEG
Fast: 00:08:26
In DM42 (accuracy 0.01):thenCode: Select all
00 { 19-Byte Prgm } 01▸LBL "FX" 02 MVAR "X" 03 RCL "X" 04 +/- 05 1 06 + 07 SQRT 08 1/X 09 RTN 10 END
DM42: less then 1sCode: Select all
∫f(x) -> LLIM 0 ULIM 1 ACC 0.01, ∫
DM42 (acc 0.001): 4s
But we already knew that.
With FIX 2 -> ALPHA FX 0 ENTER 1 XRQ INTEG, in the HP41CX: 01:41:17 here. About as SLOW DM41X (01:34:00), only 3 s diff.
Challenged by elementary math?
only for fun
Well, but 7:17s > 3s with wine as well as without.
it was a lapsus
Where did you find this routine? Or is it a formula you found yourself? Lines 02..04 are for what? Just some burden for the speed test? They may be erased with no effect to the result regarding maths only. Mirroring at line x=1/2 does not alter the outcome.salvomic wrote: ↑Thu Oct 15, 2020 3:49 pm[...] in DM41X with Advantage module create a function FX:Code: Select all
LBL "FX" 1 X<>Y - SQRT 1/X END
Yes, sure we did. Anyway, on faster emulators like the "PC version of the HP 15C calculator" your benchmark is instantly finished. So I suggest to rewrite the routine, like this (HP15C-like):But we already knew that.
Code: Select all
1-42.21. 6 LBL 6
2- 45 1 RCL 1
3- 14 y^x
4- 43 32 RTN
5-42.21.11 LBL A
6- 0 0
7- 36 ENTER^
8- 1 1
9-42.20. 6 INTEG 6
10-42. 5. 0 DSE 0
11- 22 11 GTO A