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

Table of contents


NAME

dfsubf, dfsub, dfsubl, dfsubw, dfsubq, dfsubll, dfsubdf, dfsubd, dfsubdl, dfsubdll - subtraction function

SYNOPSIS

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

#include <mathcw.h>

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

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

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

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

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

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

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

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

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

extern void dfsubdll (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 difference of x and y.

RETURN VALUES

Return the difference 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), dfadd(3CW), dfdiv(3CW), dfmul(3CW), dfneg(3CW), dfsqrt(3CW).