DB48X: HP48-like RPL implementation for DM42
|
10-30-2024, 06:45 PM
Post: #361
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(10-30-2024 12:55 PM)floppy Wrote: Exact. For me, I assume you mean TI83 and TI84 ?? --Bob Prosperi |
|||
10-30-2024, 10:01 PM
Post: #362
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(10-30-2024 12:55 PM)floppy Wrote: So, please, we need now the calculator for the poor, and not only calculators for the rich. Noted and seconded. I have a spare 50g so that makes sense to me, but those are getting harder and harder to come by. I could get my hands on some cheap TI hardware and theoretically I could have a go at making it work. But there are many things I want to spend my time on and few things I actually end up spending time on. No promises. |
|||
10-31-2024, 10:12 PM
Post: #363
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
Hi
I am running DB50X v. 0.8.3 on DM42N I just started playing with this wonderful software, and may have done a lot of strange things. There seems to be something wrong with matrix Random and HwFP Prec 7. Can someone confirm if they also get hard fault crash with the following setting? shift MODES HwFP shift DISP 7 Prec { 3 3 } shift shift MATRIX Random The battery is running low, but the same happens on USB power. best regards Gjermund |
|||
11-01-2024, 09:36 AM
(This post was last modified: 11-01-2024 09:46 AM by Gjermund Skailand.)
Post: #364
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
Hi
there is also something else strange happening on DM42N when calculating directly from commandline using CATALOG menus e.g 6 ENTER SHIFT CATALOG ! is ok whereas 6 SHIFT CATALOG ! result in rubbish or it hangs Maybe due some pointer error? PS it does not happen in the browser. best regards Gjermund |
|||
11-02-2024, 02:14 PM
Post: #365
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(10-30-2024 10:01 PM)LinusSch Wrote:(10-30-2024 12:55 PM)floppy Wrote: So, please, we need now the calculator for the poor, and not only calculators for the rich. I looked around a bit and I found the following thoughts:
The prices I found were
That's more than enough calculator musings for my Saturday, I need to get my misbehaving computers in order. |
|||
11-02-2024, 05:20 PM
Post: #366
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
Another approach would be a hp48 (there are thousands on ebay, many under $100); gutted out with its internals replaced with a swissmicros-compatible (or like) internals (including LCD); basically you'd be buying the hp48 (or really hp50) just for the keyboard and shell. The PCB would be powered using the AAA batteries.
But then again, if db48x/newrpl comes to the hp50, then there's no need for the surgery. I just dislike keyboard overlays and stickers. Meanwhile I use db50x on my dm42n daily. |
|||
11-02-2024, 06:46 PM
Post: #367
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(11-02-2024 05:20 PM)jibanes Wrote: Another approach would be a hp48 (there are thousands on ebay, many under $100); gutted out with its internals replaced with a swissmicros-compatible (or like) internals (including LCD); basically you'd be buying the hp48 (or really hp50) just for the keyboard and shell. The PCB would be powered using the AAA batteries. NewRPL is already available for the 50g - am I missing something in this discussion? WP31S/WP34S, WP43/C47, newRPL (various), and DB48X adhesive and tabbed overlays: https://www.hpmuseum.org/forum/thread-20113.html |
|||
11-03-2024, 02:53 AM
Post: #368
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(11-02-2024 06:46 PM)spiff72 Wrote:(11-02-2024 05:20 PM)jibanes Wrote: Another approach would be a hp48 (there are thousands on ebay, many under $100); gutted out with its internals replaced with a swissmicros-compatible (or like) internals (including LCD); basically you'd be buying the hp48 (or really hp50) just for the keyboard and shell. The PCB would be powered using the AAA batteries. Newrpl is not as feature rich as DB48X. Also is is not under active development any more. |
|||
11-03-2024, 02:56 AM
Post: #369
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
> Newrpl is not as feature rich as DB48X. Also is is not under active development any more.
Oh thanks, I didn't know newrpl was stable. I will definitely give it a shot. |
|||
11-03-2024, 09:30 AM
Post: #370
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(11-03-2024 02:56 AM)jibanes Wrote: > Newrpl is not as feature rich as DB48X. Also is is not under active development any more. It isn't really stable, the author just stopped working on it. And the db50x is potentially a really complete implementation, if Mr de Dinechin can find the time to take the project all the way. |
|||
11-03-2024, 09:39 AM
Post: #371
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
I keep forgetting that I actually need to learn building Android apps. Which creates an obvious answer to what zero-budget db48x project I should actually attempt. Both the process and the result would be of most use to me personally if I did that.
So why... maybe I just want to look at hardware options for hours, without looking in my drawer of old phones for some reason. Physical keyboard, you say? Most Androids happily accepts standard USB keyboards and I think that can be made use of to have the app double as a true desktop calculator. Phone screen can then be only screen, no keys... not the best aspect ratio, but with single line soft menus and landscape orientation I think three levels of the stack could be shown in a reasonably large font. Not high priority, not at all, but this possibility makes me at least a little excited - so that maybe I'll eventually get to work. |
|||
11-04-2024, 08:37 PM
(This post was last modified: 11-04-2024 08:44 PM by raprism.)
Post: #372
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(07-11-2023 10:16 AM)c3d Wrote:(07-10-2023 09:46 PM)Helix Wrote: I would be curious to know the result for this benchmark too. Because of the current release doc in dev branch ("0.8.4") I researched to find the code of this benchmark "floating point sum" test. With 0.8.4 self-compiled from dev branch, and the released 0.8.3 I used this code: Code:
Note that T1K uses 1000 instead of 10000 loops, because timings were far slower as expected - although I can confirm the speed-up from 0.8.3 to 0.84. Results for DM42 USB-powered are:
What might be the reason that some early db48x version was much faster when running this test? |
|||
11-04-2024, 09:36 PM
(This post was last modified: 11-05-2024 12:46 PM by Dashier.)
Post: #373
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
There's a Facebook thread regarding a test of calculator accuracy based on an exam question that results in:
Code: (SQRT(2)-1)^10 = 3363-2378*SQRT(2) There are a number of comments regarding the accuracy of various calculators. I elected to set the DB50X to 2000 digits precision and test it. The difference between the LHS and RHS was 2.15651x10^-1997 Nice job Christophe! Post script: doing the LHS as a series of multiplications gives virtually the same results. Setting the precision to 6400 digits, yields of a difference of: 9.59198x10^-6397 |
|||
11-05-2024, 01:05 AM
Post: #374
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(11-04-2024 08:37 PM)raprism Wrote: What might be the reason that some early db48x version was much faster when running this test? Early versions used the Intel decimal floating point library, current versions use a custom floating point library that saves a lot of code space as compared to the Intel one and provides arbitrary precision. If you set your precision low enough the current versions should be able to go faster than the early versions, but I do not know how low you'd need to set it for which cases. |
|||
11-05-2024, 06:18 PM
Post: #375
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(11-05-2024 01:05 AM)LinusSch Wrote:(11-04-2024 08:37 PM)raprism Wrote: What might be the reason that some early db48x version was much faster when running this test? Good hint. I remember that this was changed to get the envisaged functionality implemented on DM42. To reduce the processing time to bit less than 1/2 minute for 10k loops, I have to set the precision to the minimum value of 3 (standard is 24). Any other means (without code optimizations) to increase the speed? |
|||
11-05-2024, 08:07 PM
Post: #376
|
|||
|
|||
CST
Hello Christophe, I love the implementation of CST. Thank you very much for that.
I also love that you made it possible for different CST within each directory like the HP48. I don't have a HP48 on me while I am traveling for work, but if I remember right, I could store the CST menu anywhere (directory), and if there was no CST variable in current directory, it would use the CST menu of the parent directory. I may be wrong. I tried this on the DB48 and it only sees the CST in current directory (this may be accurate to the HP48 behavior though). I would like to please request the following enhancements: - Would it be possible to have a "blank" command to put in the CST variable? basically to have an empty field in the CST menu? { Name Value "Blank"} I am playing with the functionality of having shifted option for CST menu, and I think it is just easy to have the relevant menu items on top of each other (ie A, A> and >A) in CST menu. - Would it be possible to implement this from HP48 manual page 30-3? "Also, instead of storing the list of objects itself in CST', you can optionally store the name of another variable that contains the list." Finally, doing tests with MENU and TMENU I noticed that now I have a 1 in a box in top left corner, I could not find documentation about this, is this a flag that I accidentally set? thank you. |
|||
11-05-2024, 08:24 PM
Post: #377
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(10-31-2024 10:12 PM)Gjermund Skailand Wrote: Hi Thanks a lot for the very detailed report. Such details make it very easy to reproduce and fix. I filed issue 1309. It will be fixed in the official 0.8.4. DB48X,HP,me |
|||
11-05-2024, 08:37 PM
Post: #378
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(11-01-2024 09:36 AM)Gjermund Skailand Wrote: Hi I cannot reproduce that particular problem, but given your explanations, I suspect it is is a duplicate of issue 1296. There were several issues with insertion in general and catalog command insertion in particular that have been fixed recently. Issue 1296 is the latest one, which is not yet fixed. DB48X,HP,me |
|||
11-05-2024, 08:49 PM
Post: #379
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(11-04-2024 08:37 PM)raprism Wrote:(07-11-2023 10:16 AM)c3d Wrote: I used the following program: As was correctly pointed out, the variable-precision implementation is roughly 10 times slower than the Intel decimal library. This is not easily fixable, because having fixed-size allows you to pre-compute values, or select algorithms that converge faster but cannot be generalized to arbitrary precision, e.g. precisely optimized polynomial approximations where the coefficients and order of the polynomials have to be pre-computed. Also, while the variable-precision implementation at 24 digits is slower than the original Intel Decimal library at 34 digits (15164ms vs 1434ms on DM42), the 32-bit and 64-bit hardware floating-point implementations are faster (388 and 879ms). So you get to choose. DB48X,HP,me |
|||
11-05-2024, 08:53 PM
Post: #380
|
|||
|
|||
RE: DB48X: HP48-like RPL implementation for DM42
(11-04-2024 09:36 PM)Dashier Wrote: There's a Facebook thread regarding a test of calculator accuracy based on an exam question that results in: Can you share the link to the Facebook thread? I could not find it with a quick search. Thanks. Quote:There are a number of comments regarding the accuracy of various calculators. DB48X,HP,me |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)