Fibonacci

Rating: 
5
Your rating: None Average: 5 (3 votes)

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

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-fibonacci-0.9.1-1.aarch64.rpm7.24 MB11/05/2023 - 20:18
File harbour-fibonacci-0.9.1-1.armv7hl.rpm7.14 MB11/05/2023 - 20:20
File harbour-fibonacci-0.9.1-1.i486.rpm7.27 MB11/05/2023 - 20:20
File harbour-fibonacci-1.0.0-1.aarch64.rpm7.24 MB15/05/2023 - 12:15
File harbour-fibonacci-1.0.0-1.armv7hl.rpm7.14 MB15/05/2023 - 12:15
File harbour-fibonacci-1.0.0-1.i486.rpm7.27 MB15/05/2023 - 12:15
File harbour-fibonacci-1.0.1-2.i486.rpm12.08 MB20/06/2023 - 13:11
File harbour-fibonacci-1.0.1-2.armv7hl.rpm11.95 MB20/06/2023 - 13:11
File harbour-fibonacci-1.0.1-2.aarch64.rpm12.05 MB20/06/2023 - 13:11
Changelog: 

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's picture

Thank you so much for this app, works great! I installed from Chum on Volla, worked like a charm at the first try.

alex000090's picture

Dear developer, could you build aarch64 version?

poetaster's picture

https://openrepos.net/sites/default/files/packages/16198/harbour-fibonac...

Is aarch64 isn't it? Did it not want to install?

 

alex000090's picture

Thank you!
I use storeman, It is quite unexpected that the package exist on openrepos but not in storeman.

poetaster's picture

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?