You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was mainly a fun practice/learning project. The calculator which is written in C# supports all basic math operators
with some extra things like factorial and binary operations. The TreeViewer project is a perfect-tree drawing program which i was originally thinking about hooking up to the parse tree which the calculator parser generates for debugging purposes. I may still do that in the future since the tree drawing is pretty much done already anyways, but we'll see.
Screenshot
Here is a full list of functions:
Number representations
Type
Example
float
23.53
int
325
binary
0b1010110
octal
0o7136254
hex
0x3f7a21b
Operations
Symbol
Description
+
Addition (a + b)
-
Subtraction (a - b)
/
Division (a / b)
*
Multiplication (a * b)
%
Modulo (a % b)
@
XOR (a @ b)
|
OR (a
&
AND (a & b)
~
Negation (~a)
!
Factiorial (a!)
<<
Shift Left (a << b)
>>
Shift Right (a >> b)
=
Assignment for variables (a = b) - NOT IMPLEMENTED YET