man wnabs (Fonctions bibliothèques) - find absolute value, sign
NAME
wn_abs, wn_sign - find absolute value, sign
SYNOPSIS
#include <wn/wnabs.h> wn_abs(x) wn_sign(x)
DESCRIPTION
wn_abs is a macro which returns the absolute value of x. x may be of any type for which the C <<> operator is defined.
wn_sign returns -1, 0, or 1 according to whether x is <, ==, or > zero. x may be of any type for which the C <<> operator is defined.
SEE ALSO
wnmax, wnint
AUTHOR
Will Naylor