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

Table of contents


NAME

dfsqrtf, dfsqrt, dfsqrtl, dfsqrtw, dfsqrtq, dfsqrtll, dfsqrtdf, dfsqrtd, dfsqrtdl, dfsqrtdll - square root function

SYNOPSIS

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

#include <mathcw.h>

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

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

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

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

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

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

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

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

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

extern void dfsqrtdll (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 square root of x.

RETURN VALUES

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