- 4.45.2.57 -
Standard Units
Math Unit
Math Unit Procedures and FunctionsSgn function
Targets: MS-DOS, OS/2, Win32
Math Unit
Returns the sign of a variable.
Declaration:
function Sgn(X: Extended): Longint;
function Sgn(X: Longint): Longint;
Remarks:
Use Sgn to obtain the sign of X. For example:
Sgn(3.2) = 1
Sgn(-5) = -1
Sgn(0) = 0
|
|
|
SecH function |
Table of Content |
SinH function |
- 4.45.2.57 -