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

Table of contents


NAME

dfaddf, dfadd, dfaddl, dfaddw, dfaddq, dfaddll, dfadddf, dfaddd, dfadddl, dfadddll - addition function

SYNOPSIS

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

#include <mathcw.h>

extern void dfaddf (float *result, float x, float y);

extern void dfadd (double *result, double x, double y);

extern void dfaddl (long double *result, long double x, long double y);

extern void dfaddw (__float80 *result, __float80 x, __float80 y);

extern void dfaddq (__float128 *result, __float128 x, __float128 y);

extern void dfaddll (long_long_double *result, long_long_double x, long_long_double y);

extern void dfadddf (decimal_float *result, decimal_float x, decimal_float y);

extern void dfaddd (decimal_double *result, decimal_double x, decimal_double y);

extern void dfadddl (decimal_long_double *result, decimal_long_double x, decimal_long_double y);

extern void dfadddll (decimal_long_long_double *result, decimal_long_long_double x,
                                                        decimal_long_long_double y);

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


DESCRIPTION

Compute the sum of x and y.

RETURN VALUES

Return the sum of the second and third arguments in the location pointed to by the first argument.

ERRORS

Underflow, overflow, and invalid operation are possible.

SEE ALSO

dfabs(3CW), dfdiv(3CW), dfmul(3CW), dfneg(3CW), dfsqrt(3CW), dfsub(3CW).