Function librapid::detail::multiprec::sqrX2(const double)#

Function Documentation#

Fmp<double> librapid::detail::multiprec::sqrX2(const double x) noexcept#

Calculates the square of a 1x precision value and returns a 2x precision result.

The result is exact when no internal overflow or underflow occurs.

Parameters

x – Input value

Returns

2x precision square of x