Fibonacci is both a symbolic RPN calculator using Sympy with a programmable calculator using exprtk c++ for procedural operations.
The RPN front end is based on Richard Rondu's https://github.com/lainwir3d/sailfish-rpn-calculator
Many exprtk bits were developed with Babbage in mind.
The openrepos, chum and github versions include a keyboard called programmers which you can enable from Settings -> Text input -> Programmers keyboard.
This is very much WIP. QML, Python and c++ parts are quickly evolving or being re-factored. It may eat your machine. But I like it. If you're looking for a highly capable calculator that is not RPN/programmable: https://openrepos.net/content/syrja/speedcrunch Speedcrunch is great.
I've extended the Sympy RPN calculator with an interface to exprtk for programmable calculations. Eventually, I'll expose the sympy interfaces in a similar fashion.
I'm also planning to add interfaces for integrals, derivatives and limits based on the work of
Roberto Colistete Junior.
Notes:
* The Sympy and mpmath libraries are a bit old.
* pi, phi, epsilon and inf are constants. sympy has a few more.
* The exprtk interface can be made to blow up fairly readily. Don't write 'while(x+=1<12)'. Write 'while( (x+=1) < 12)' and you'll be fine :) I'm working on some safeguards, but it's a very free interface (ie. fire and forget).
* The exprtk interface comes with some predefined variables.
- x,y,z at 0
- r[2] {0,1} intended as a shift register
- a[10] intended as an accumulator. This you can use to gather results of steps.
I'm working on more documentation.
Issues and suggestions and PRs are welcome at https://github.com/poetaster/fibonacci
Attachment | Size | Date |
---|---|---|
harbour-fibonacci-0.9.1-1.aarch64.rpm | 7.24 MB | 11/05/2023 - 20:18 |
harbour-fibonacci-0.9.1-1.armv7hl.rpm | 7.14 MB | 11/05/2023 - 20:20 |
harbour-fibonacci-0.9.1-1.i486.rpm | 7.27 MB | 11/05/2023 - 20:20 |
harbour-fibonacci-1.0.0-1.aarch64.rpm | 7.24 MB | 15/05/2023 - 12:15 |
harbour-fibonacci-1.0.0-1.armv7hl.rpm | 7.14 MB | 15/05/2023 - 12:15 |
harbour-fibonacci-1.0.0-1.i486.rpm | 7.27 MB | 15/05/2023 - 12:15 |
harbour-fibonacci-1.0.1-2.i486.rpm | 12.08 MB | 20/06/2023 - 13:11 |
harbour-fibonacci-1.0.1-2.armv7hl.rpm | 11.95 MB | 20/06/2023 - 13:11 |
harbour-fibonacci-1.0.1-2.aarch64.rpm | 12.05 MB | 20/06/2023 - 13:11 |
v1.0.1 library updates
- speedier 1.9.x sympy
- ln() to log() for exprtk (which has natural e log)
v.1.0.0 - settings fix release
- corrects the path to settings
- saves recent vars and last formula from programmers to settings
- small adjustments to keyboard
- add deg() function abbreviation
v0.9.1 - https://github.com/poetaster/fibonacci/releases/tag/v0.9.1
- fix shl/shr
- add phi constant to sympy and exprtk backends, keyboards. I mean, really.
v0.9-2 - Initial release.
Comments
Seven_of_nine
Thu, 2023/05/18 - 12:19
Permalink
Thank you so much for this app, works great! I installed from Chum on Volla, worked like a charm at the first try.
alex000090
Wed, 2023/05/10 - 09:53
Permalink
Dear developer, could you build aarch64 version?
poetaster
Wed, 2023/05/10 - 10:18
Permalink
https://openrepos.net/sites/default/files/packages/16198/harbour-fibonac...
Is aarch64 isn't it? Did it not want to install?
alex000090
Thu, 2023/05/11 - 23:37
Permalink
Thank you!
I use storeman, It is quite unexpected that the package exist on openrepos but not in storeman.
poetaster
Tue, 2023/05/16 - 14:56
Permalink
Hmm. It should be visible in storeman. I just did an update and removed the very first entry. Can you try again? Or do you see it listed, at least?