Template Function librapid::detail::multiprec::addSmallX2(const T&, const Fmp<T>&)#
Defined in File complex.hpp
Function Documentation#
-
template<typename T>
constexpr Fmp<T> librapid::detail::multiprec::addSmallX2(const T &x, const Fmp<T> &y) noexcept# Combines a 1x precision value with a 2x precision value.
Requires: exponent(x) + countr_zero(significand(x)) >= exponent(y.val0) or x == 0
- Template Parameters
T – Template type
- Parameters
x – First value
y – Second value
- Returns
Sum of x and y