Extension for Arithmetic operation

As The Language Specification describes, objects that implements the pnuts.lang.Numeric interface can be used like a Number object for arithmetic operations.

The following classes are sample implementations of Numeric interface.

The following scripts are demo of these classes.


Back