![free42 decimal free42 decimal](https://www.softpaz.com/screenshots/free42-thomas-okken/thumb/1.png)
With that modification, Free42's performance was on par with my real 42S (again, running Free42 Decimal on my Palm Zire 21, which has a 126 MHz ARM).Ĭhanging Free42 Decimal's trig functions to be accurate to the full width of the internal representation will probably slow them down by only 20-25% or so, so that looks like the best way to fix this.
Free42 decimal update#
UPDATE 2: I repeated my SOLVE benchmark (which makes heavy use of trig functions), this time after adding FIX 11 RND at the end of the function. The solution may be to make it stop iterating once the 20th digit has settled down (instead of going all the way) - or to change the transcendentals to be more accurate. I have to look into the SOLVE issue a bit more. I guess I could blame Free42's higher precision for part of that (assuming linear convergence, Free42 will take twice as many iterations to converge than the 42S, because its mantissa has twice the digits) but it probably has to do with the fact that the transcendental functions in Free42 Decimal are only accurate to about 20 digits, which means they behave erratically in the final stages of convergence - and that can force the solver to do dozens of additional iterations.
![free42 decimal free42 decimal](http://www.downxia.com/uploadfiles/2019/0316/20190316042857459.jpg)
SOLVE performs poorly, though - about 10 to 15 times slower than on the real 42S. UPDATE: I ran a couple of quick-and-dirty tests on my Palm Zire 21, and SIN runs at about the same speed as on my real HP-42S INVRT is about 4 times faster than on the 42S. I'll run some tests and post the results here in a few days. As I said, I haven't done benchmarks yet, but I expect performance comparable to a real HP-42S on recent Palm models. Whether or not it is fast enough is something everyone should try for themselves. In practice, the Decimal version is still going to be significantly slower than the Binary.
Free42 decimal software#
Binary should be less on the Palm than it is on the PC, since even the Binary version has to do all its floating point in software on the Palm (using MathLib). Theoretically, the impact of using Decimal vs. There is still some performance optimization left to do - replacing 32-bit operations by their 16-bit equivalents wherever possible - and that should help speed things up. I haven't done any benchmarks yet, so I'm afraid I can't give you any numbers yet.įree42 Decimal for PalmOS does not use the 68k's BCD instructions it uses a set of C++ classes that implement base-10000 floating point using binary integer math. Re: Free42 Decimal released - Thomas Okken - 02-27-2006 How does the speed of the decimal version compare to the binary version on PalmOS, considering that it doesn't have an FPU? Are you using the 68k's BCD instructions? Re: Free42 Decimal released - Jonathan Purvis (New Zealand) - 02-27-2006 In view of the recent discussion about guard digits, perhaps I should mention that Free42 Decimal has 13 of them. Many thanks to Hugh Steers for providing the BCD code! +- Thread: Free42 Decimal released ( /thread-88312.html)įree42 Decimal released - Thomas Okken - 02-27-2006įor all of you who think it matters that 1 - 0.2 - 0.2 - 0.2 - 0.2 - 0.2 equals 0, Free42 now comes in a Decimal version.įor those who care more about speed, the Binary version is also still available.
![free42 decimal free42 decimal](https://windows-cdn.softpedia.com/screenshots/thumbs/Free42-thumb.png)
Free42 Decimal released - Printable Version