Template Function librapid::copySign(const __gmp_expr<A, B>&, const __gmp_expr<A, B>&)#

Function Documentation#

template<typename A, typename B>
__gmp_expr<A, B> librapid::copySign(const __gmp_expr<A, B> &mag, const __gmp_expr<A, B> &sign) noexcept#

Copy the sign of a value to another value

Template Parameters
  • A

  • B

Returns

(<sign> <mag>)