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

Table of contents


NAME

dfmulf, dfmul, dfmull, dfmulw, dfmulq, dfmulll, dfmuldf, dfmuld, dfmuldl, dfmuldll - multiplication function

SYNOPSIS

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

#include <mathcw.h>

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

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

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

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

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

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

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

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

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

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

RETURN VALUES

Return the product 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), dfneg(3CW), dfsqrt(3CW), dfsub(3CW).