#WEEKLY 10: CodeLongAndPros' Magic™️ Reverse™️ Polish™️ Calculator™️! (™️)
CodeLongAndPros (954)

This is my Magic™️ Reverse™️ Polish™️ Calculator™️! (™️)

It's kinda like Desk Calculator (man dc), but in a nice GUI! (Kinda)

I don't expect to win, but that would be nice...

There's four basic operations, 8 hidden ones, three stack ones, and three Easter eggoos!

For all of you that don't know, man dc has this gem:

A reverse-polish calculator stores numbers on a stack. Entering a number pushes it on the stack. Arithmetic operations pop arguments off the stack and push the results.

Couldn't have said it better meself :).

The four gooey functions are:
+: Addition (Duh)
-: Subtraction (See above)
*: Multiplication
/: Division

If you ask, why is he writing this? People know how do maths, right?

Well, I've been reading too much r/talesfromtechsupport and have lost faith in most of the users in the world.

The three stack operations are:
x (Delete item from stack)
X (Clear stack and staging area)
s (Swap item from top of stack into staging area)

The 8 'hidden' operations are:

p - Square (s was already taken)
P - Pow (Raise to the power of
v - sqrt(Square root)
V - Xth root
S - Sine
C - Co-sine (<ramble>Is this like co-worker/<ramble>)
T - Tangent
R - Reciprocal

Well, enjoy!

Edit: I can Markdown.

You are viewing a single comment. View All
noquinn (24)

[email protected] lol that’s for sure, but it still looks great