Return the square root of x.
Declared in <bdldfp_decimalimputil.h>
static
DecimalImpUtil::ValueType32
sqrt(ValueType32 x);
Special value handling: * If x is quiet NaN, quiet NaN is returned. * If x is signaling NaN, quiet NaN is returned and the value of the macro EDOM is stored into errno. * If x is less than -0, quiet NaN is returned and the value of the macro EDOM is stored into errno. * If x is +/-infinity or +/-0, it is returned unmodified.
the square root of x
| Name | Description |
|---|---|
| x | value whose square root is returned |