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)

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

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

Post by admin »

Express Calculator

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

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.

http://www.lucidapogee.com/download.php?file=ec.zip
admin
Site Admin
Posts: 127
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.
Post Reply