This is a go/golang port of the very useful Calc.app using fyne and govaluate.
Download from releases, run, enter help
to get some help. It is not signed, google for "open unsigned mac/win".
For syntax, see https://github.com/Knetic/govaluate/blob/master/MANUAL.md with the following modifications:
^
is converted to**
(power)1.3e-3
etc is converted to float64- You can assign variables
a=1+3
(if you don't, the result is assigned tor<number>
), and use thema*2
- There is currently one setting, the output number format for calculations. It can be changed by entering e.g.
!outformat=%.8e
. See https://pkg.go.dev/fmt for syntax.
float64 is used for calculations, here is 1+1e-19-1 == 0
.
See .github/workflows/go.yml
.
- fyne as GUI
- govaluate to evaluate expressions
- action-automatic-releases to create cross-platform releases using github actions.