Desired functionality

Implement the following elements:

Example Description
2, 3.0, -1.82 1.3E-23 IEEE 754 Double-precision
0b100, -0B101 Integer Binary representation
0xa7, -0xB2FF Integer Hexadecimal representation
pi Math π 3.1415926...
e Euler's number 2.71828...
Unary operators / functions
Example Description
~ Unary minus
sin, cos, tan Trigonometric functions
exp Exponential to base e
ln Natural logarithm (base e)
sqrt Square root
Binary operators / functions
Example Description
+ Binary plus
- Binary minus
* Binary multiply
/ Binary divide
pow Power function