Since the introduction of operator overloading in Delphi one can easily define custom data types that support arithmetic operations. For example it is quite easy to implement arithmetic of complex numbers like this: type PComplex = ^TComplex; TComplex = record Re, Im: Extended; class ...
More...