You are here: Symbol Reference > clMtxExpr Namespace > Classes > clVector Record > public > TruncAndFrac Method > clVector.TruncAndFrac Method (TOpenCLMtxVec, TOpenCLMtxVec)
MtxVec VCL
ContentsIndex
PreviousUpNext
clVector.TruncAndFrac Method (TOpenCLMtxVec, TOpenCLMtxVec)

Rounds a real number towards zero and returns the fractional part.

Pascal
procedure TruncAndFrac(TruncDst: TOpenCLMtxVec; FracDst: TOpenCLMtxVec); overload;

Rounds all calling object elements towards zero to an integer and stores the result in the TruncDst object as floating point numbers. The fractional part is stored in the FracDst.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!