Macaulay2 Engine
Loading...
Searching...
No Matches

◆ mul_2si

const mpreal mul_2si ( const mpreal & v,
long int k,
mp_rnd_t rnd_mode = mpreal::get_default_rnd() )
friend

Definition at line 1662 of file mpreal.h.

1663{
1664 mpreal x(v);
1665 mpfr_mul_2si(x.mpfr_ptr(),v.mpfr_srcptr(),k,rnd_mode);
1666 return x;
1667}
volatile int x

References mpfr_srcptr(), mpreal(), mul_2si, and x.

Referenced by mul_2si.