runtime/arithmetic/float.cpp
static void mpfr_enter(mpfr_prec_t p, mpfr_exp_t e, floating *result) {
  mpfr_init2(result->f, p);
  result->exp = e;
  default_emax = mpfr_get_emax();
  default_emin = mpfr_get_emin();
  mpfr_set_emin(emin(e, p) - p + 2);
  mpfr_set_emax(emax(e) + 1);
}
/* Each floating point number contains a number of exponent bits (here e) and
 * a precision (p). Here we initialize the result of a floating point
 * computation with that exponent range and precision and then prepare mpfr to
 * perform the calculation by transferring ourselves to that exponent range. An
 * overload also exists to
 * get the value from a floating * if one already exists in the arguments to the
 * function. */
Each floating point number contains a number of exponent bits (here e) and
a precision (p). Here we initialize the result of a floating point
computation with that exponent range and precision and then prepare mpfr to
perform the calculation by transferring ourselves to that exponent range. An
overload also exists to
get the value from a floating * if one already exists in the arguments to the
function.
Each floating point number contains a number of exponent bits ( here e ) and a precision ( p ) . Here we initialize the result of a floating point computation with that exponent range and precision and then prepare mpfr to perform the calculation by transferring ourselves to that exponent range . An overload also exists to get the value from a floating * if one already exists in the arguments to the function .
static void mpfr_enter(mpfr_prec_t p, mpfr_exp_t e, floating *result) {
  mpfr_init2(result->f, p);
  result->exp = e;
  default_emax = mpfr_get_emax();
  default_emin = mpfr_get_emin();
  mpfr_set_emin(emin(e, p) - p + 2);
  mpfr_set_emax(emax(e) + 1);
}
static void mpfr_enter ( mpfr_prec_t p , mpfr_exp_t e , floating * result ) { mpfr_init2 ( result -> f , p ) ; result -> exp = e ; default_emax = mpfr_get_emax ( ) ; default_emin = mpfr_get_emin ( ) ; mpfr_set_emin ( emin ( e , p ) - p + 2 ) ; mpfr_set_emax ( emax ( e ) + 1 ) ; }
Each floating point number contains a number of exponent bits (here e) and
 a precision (p).
Each floating point number contains a number of exponent bits ( here e ) and a precision ( p ) .