Closed smpiano closed 6 years ago
Implement the extended syntax for the following number built-ins:
{Number.'+' X Y Z}
Z = (X + Y)
{Number.'-' X Y Z}
Z = (X - Y)
{Number.'*' X Y Z}
Z = (X * Y)
{Number.'div' X Y Z}
Z = (X div Y)
{Number.'mod' X Y Z}
Z = (X mod Y)
{Float.'/' X Y Z}
Z = (X / Y)
Create a simple statement to print it easily.
Implement the extended syntax for the following number built-ins:
{Number.'+' X Y Z}
: Equivalent toZ = (X + Y)
{Number.'-' X Y Z}
: Equivalent toZ = (X - Y)
{Number.'*' X Y Z}
: Equivalent toZ = (X * Y)
{Number.'div' X Y Z}
: Equivalent toZ = (X div Y)
{Number.'mod' X Y Z}
: Equivalent toZ = (X mod Y)
{Float.'/' X Y Z}
: Equivalent toZ = (X / Y)
Create a simple statement to print it easily.