You are here: Symbol Reference > Math387 Namespace > Functions > Math387.Sgn Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Math387.Sgn Function

Signum.

Pascal
function Sgn(const Z: TCplx): Integer; overload;

the signum of X. Signum(X) is 1 for X > 0, equal to zero for X = 0 and -1 for X < 0.

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