clValue::Rem Method

TOpenCLValue *Rem(TOpenCLValue *X, TOpenCLValue *Y) const;

The Reminder after division X/Y.

#NameTypeDescription
1XTOpenCLValue *
2YTOpenCLValue *
Remarks:

Calculates reminder after division according to formula:

x[i]-y[i]*Trunc(x[i]/y[i]).

The results will be saved to the calling object.

Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler