Information Technology - Computer Programming - Source Code - Homebrew - Open Source - Software - Hardware - 8 bit - 16 bit - 32 bit - 64 bit - x86 - x64 - DOS - Windows - Linux - Arduino - Embedded - Development - Retro - Vintage - Math - Science - History - Hobby - Beginners - Professionals - Experiment - Research - Study - Fun - Games

Express Calculator (Linux, Windows, DOS, Atari ST, Miyoo CFW)

Anything C/C++ related.
Post Reply
admin
Site Admin
Posts: 131
Joined: Wed Feb 22, 2023 6:51 am

Express Calculator (Linux, Windows, DOS, Atari ST, Miyoo CFW)

Post by admin »

Express Calculator

A command line scientific calculator for Linux, Windows, DOS, Atari ST, and Miyoo CFW.

Operator precedence:

NOT() BNOT()
^ MOD
* /
+ -
SHL SHR
< > <= >=
= <>
BAND
XOR
BOR
AND
OR

Functions:

ABS() INT() SQR() SIN() COS() TAN() ATN() LOG()
ROUND() SGN() EXP() PRIME() FACTORIAL() RND PI

Set the accuracy of floating point math with PRECISION.
Denote a hexidecimal value with the &H prefix.

Variables are named from A to Z.
Enter STOA - STOZ to store the last evaluation.

# inserts the last evaluation in an expression.
Enter RESET to set values for the variables.
Enter LIST to view the variables values.
Enter EXIT to end the program.
Enter HELP to see this text again.

Includes binaries for Linux, Win32, and DOS, Atari ST, Miyoo CFW.

http://www.lucidapogee.com/download.php?file=ec.zip
admin
Site Admin
Posts: 131
Joined: Wed Feb 22, 2023 6:51 am

Re: Express Calculator

Post by admin »

Update!

As an experiment, I tried compiling Express Calculator with Pure C on the Atari ST. I also took the opportunity to update it a bit with some recent progress from Express BASIC.

A little tweaking and I got it working!

The download will now include an Atari ST edition of Express Calculator.
admin
Site Admin
Posts: 131
Joined: Wed Feb 22, 2023 6:51 am

Re: Express Calculator (Linux, Windows, DOS, Atari ST, Miyoo CFW)

Post by admin »

The download link now includes a binary for Miyoo CFW devices!

These are inexpensive ARM Linux handhelds such as the m3 or v90.
Post Reply