clValue.Divide Method

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

Divide Num with Den.

#NameTypeDescription
1NumTOpenCLValuesource TOpenCLValue
2DenTOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

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.