Numeric Types Emulators Inside DelphiVCL Library
May 19, 2021
In DelphiVCL Library or Python in general, the following methods can be defined to emulate numeric objects. Methods corresponding to operations that are not supported by the particular kind of number implemented (e.g., bitwise operations for non-integral numbers) should be left undefined.
object.__add__(self, other)
object.__sub__(self, other)
object.__mul__(self…