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

◆ const_infinity

const mpreal const_infinity ( int sign = 1,
mp_prec_t prec = mpreal::get_default_prec() )
friend

Definition at line 2717 of file mpreal.h.

2718{
2719 mpreal x(0, p);
2720 mpfr_set_inf(x.mpfr_ptr(), sign);
2721 return x;
2722}
int p
volatile int x

References const_infinity, get_default_prec(), mpreal(), p, and x.

Referenced by const_infinity.