[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function isgn - sign of an integer
Syntax #include <mathhk.h>
(int) isgn(x)
Prototype in mathhk.h
Remarks isgn will determine the sign of x. Zero is
considered positive.
This function is a macro.
The macros sgn() and sign() are defined as isgn().
Return value returns -1 if x is negative, otherwise 1.
See also fsgn(), lsgn()
See Also:
fsgn()
lsgn()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson