TOpenCLValue.Divide Method

function Divide(Num: TOpenCLValue; Den: TOpenCLValue): TOpenCLValue;

Divide Num with Den.

#NameTypeDescription
1NumTOpenCLValuesource TOpenCLValue
2DenTOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

FloatPrecision and TOpenCLBase.Complex property of the calling object are set automatically. The result is stored in the calling object.

The result of division by zero will be the INF constant. Division of zero by zero will result in NAN.