DFNEG 3CW "21 March 2008" "mathcw-1.00"

Table of contents


NAME

dfnegf, dfneg, dfnegl, dfnegw, dfnegq, dfnegll, dfnegdf, dfnegd, dfnegdl, dfnegdll - negation function

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

extern void dfnegf (float *result, float x);

extern void dfneg (double *result, double x);

extern void dfnegl (long double *result, long double x);

extern void dfnegw (__float80 *result, __float80 x);

extern void dfnegq (__float128 *result, __float128 x);

extern void dfnegll (long_long_double *result, long_long_double x);

extern void dfnegdf (decimal_float *result, decimal_float x);

extern void dfnegd (decimal_double *result, decimal_double x);

extern void dfnegdl (decimal_long_double *result, decimal_long_double x);

extern void dfnegdll (decimal_long_long_double *result, decimal_long_long_double x);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Compute the negation of x.

RETURN VALUES

Return the negation of the second argument in the location pointed to by the first argument.

ERRORS

If the argument is a NaN, return the argument without setting errno.

SEE ALSO

dfabs(3CW), dfadd(3CW), dfdiv(3CW), dfmul(3CW), dfsub(3CW).