ok,
I followed your instructions, but I got always the strange number -1734.7235...
FF = 1/(1+x)
point=3, order=2
with Free42s 2.25 in macOS 11
Salvo
::
EDIT Found! (this could be interesting for Thomas)
The problem is the "Binary" version instead of "Decimal" one (in Big Sur).
In "Decimal" the results is correct, in Binary not.
Collection of functions for DM42/Free42 (updated on 2021-02-23)
Re: Collection of functions for DM42/Free42 (updated on 2021-02-22)
- Attachments
-
- Schermata 2021-02-22 alle 22.39.23.jpg (153.92 KiB) Viewed 2664 times
∫aL√0mic (IT9CLU) :: DM42 (SN: 00881), DM41X (SN 00523), DM16, HP Prime, 50g, 41CX, 42s, 71b, 15C, 12C, 35s, WP34s -- Free42
Re: Collection of functions for DM42/Free42 (updated on 2021-02-22)
Weird, I think that the function is not correctly imported.
In Free42, you do not need to remove the comments. They are silently ignored in the importing process. After importing the file, using the paste function, the program is 1125 bytes and the END line is numbered with 337.
In Free42, you do not need to remove the comments. They are silently ignored in the importing process. After importing the file, using the paste function, the program is 1125 bytes and the END line is numbered with 337.
Re: Collection of functions for DM42/Free42 (updated on 2021-02-22)
Ah! Of course, I am pushing the differential to the limit! The binary version does not have such accuracy.
I am using differentials that can be 1e-20, the binary version does not have that accuracy.
Mystery solved!
I am using differentials that can be 1e-20, the binary version does not have that accuracy.
Mystery solved!
Re: Collection of functions for DM42/Free42 (updated on 2021-02-22)
Then it works well also your new version for Free42 2.25 (full interactive menu), but always with "Decimal" app.
Thomas warned, indeed:
«This inexactness can cause some HP-42S programs to fail.
...
If you don't fully understand the above, it is best to play safe and use
Free42 Decimal»
This is one of the cases in which "Binary" fails.
Salvo
Thomas warned, indeed:
«This inexactness can cause some HP-42S programs to fail.
...
If you don't fully understand the above, it is best to play safe and use
Free42 Decimal»
This is one of the cases in which "Binary" fails.
Salvo
∫aL√0mic (IT9CLU) :: DM42 (SN: 00881), DM41X (SN 00523), DM16, HP Prime, 50g, 41CX, 42s, 71b, 15C, 12C, 35s, WP34s -- Free42
-
- Posts: 1100
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Collection of functions for DM42/Free42 (updated on 2021-02-22)
I just released 3.0, so PGMMENU is official now.
(And the big stack, but that's a different topic!)
(And the big stack, but that's a different topic!)
-
- Posts: 1100
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Collection of functions for DM42/Free42 (updated on 2021-02-22)
That's a different problem, actually. The warning about Free42 Binary has to do with the fact that negative powers of 10 are inexact in binary, which causes problems for programs that try to extract specific digits from fractions. For example, a function like HMS+ is difficult to implement in binary.salvomic wrote: ↑Mon Feb 22, 2021 10:50 pmThen it works well also your new version for Free42 2.25 (full interactive menu), but always with "Decimal" app.
Thomas warned, indeed:
«This inexactness can cause some HP-42S programs to fail.
...
If you don't fully understand the above, it is best to play safe and use
Free42 Decimal»
This is one of the cases in which "Binary" fails.
The problem in this thread appears to be due to insufficient precision, and that is a different issue. A problem for which the 53-bit mantissa used by Free42 Binary is insufficient, will likely also fail on the real HP-42S, with its 12-digit mantissa.
Re: Collection of functions for DM42/Free42 (updated on 2021-02-22)
Thanks Thomas,Thomas Okken wrote: ↑Tue Feb 23, 2021 1:52 pmThe problem in this thread appears to be due to insufficient precision, and that is a different issue. A problem for which the 53-bit mantissa used by Free42 Binary is insufficient, will likely also fail on the real HP-42S, with its 12-digit mantissa.
I didn't know that.
Salvo
∫aL√0mic (IT9CLU) :: DM42 (SN: 00881), DM41X (SN 00523), DM16, HP Prime, 50g, 41CX, 42s, 71b, 15C, 12C, 35s, WP34s -- Free42
Re: Collection of functions for DM42/Free42 (updated on 2021-02-22)
just updated Free42 3.0 (iOS)!
Thanks Thomas
All the suite of Fernando (new version) seems to be ok there, at least DERIV is ok, and with the interactive menu more friendly.
Salvo
PS: now I would be curious to test it into a new version of FW (compatible with Free42 3.0) in DM42 too, soon
Thanks Thomas
All the suite of Fernando (new version) seems to be ok there, at least DERIV is ok, and with the interactive menu more friendly.
Salvo
PS: now I would be curious to test it into a new version of FW (compatible with Free42 3.0) in DM42 too, soon
Last edited by salvomic on Tue Feb 23, 2021 8:01 pm, edited 1 time in total.
∫aL√0mic (IT9CLU) :: DM42 (SN: 00881), DM41X (SN 00523), DM16, HP Prime, 50g, 41CX, 42s, 71b, 15C, 12C, 35s, WP34s -- Free42
Re: Collection of functions for DM42/Free42 (updated on 2021-02-23)
Thanks for the notification Thomas. I have just added again the PGMMENU in the programs of my repository.
@Salvo, I have seen that you say that "DERIV is almost OK". Have you seen any problem in the program?
@Salvo, I have seen that you say that "DERIV is almost OK". Have you seen any problem in the program?
Re: Collection of functions for DM42/Free42 (updated on 2021-02-23)
No, Fernando, I wrote wrongly (now I corrected): DERIV *at least* is ok
The interactive version is very friendly.
Salvo
∫aL√0mic (IT9CLU) :: DM42 (SN: 00881), DM41X (SN 00523), DM16, HP Prime, 50g, 41CX, 42s, 71b, 15C, 12C, 35s, WP34s -- Free42