C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
Variables
exprtk::details::constant Namespace Reference

Variables

static const mp_prec_t mpfr_precision = 128
 
static const mp_rnd_t mpfr_round = mpfr::mpreal::get_default_rnd()
 
static const mpfr::mpreal e = mpfr::const_euler(mpfr_precision,mpfr_round)
 
static const mpfr::mpreal pi = mpfr::const_pi (mpfr_precision,mpfr_round)
 
static const mpfr::mpreal pi_2 = mpfr::const_pi (mpfr_precision,mpfr_round) / mpfr::mpreal( 2.0)
 
static const mpfr::mpreal pi_4 = mpfr::const_pi (mpfr_precision,mpfr_round) / mpfr::mpreal( 4.0)
 
static const mpfr::mpreal pi_180 = mpfr::const_pi (mpfr_precision,mpfr_round) / mpfr::mpreal(180.0)
 
static const mpfr::mpreal _1_pi = mpfr::mpreal( 1.0) / mpfr::const_pi(mpfr_precision,mpfr_round)
 
static const mpfr::mpreal _2_pi = mpfr::mpreal( 2.0) / mpfr::const_pi(mpfr_precision,mpfr_round)
 
static const mpfr::mpreal _180_pi = mpfr::mpreal(180.0) / mpfr::const_pi(mpfr_precision,mpfr_round)
 
static const mpfr::mpreal log2 = mpfr::const_log2 (mpfr_precision,mpfr_round)
 
static const mpfr::mpreal sqrt2 = mpfr::sqrt(mpfr::mpreal(2.0))
 

Variable Documentation

◆ _180_pi

const mpfr::mpreal exprtk::details::constant::_180_pi = mpfr::mpreal(180.0) / mpfr::const_pi(mpfr_precision,mpfr_round)
static

Definition at line 78 of file exprtk_mpfr_adaptor.hpp.

Referenced by exprtk::details::numeric::details::r2d_impl().

◆ _1_pi

const mpfr::mpreal exprtk::details::constant::_1_pi = mpfr::mpreal( 1.0) / mpfr::const_pi(mpfr_precision,mpfr_round)
static

Definition at line 76 of file exprtk_mpfr_adaptor.hpp.

◆ _2_pi

const mpfr::mpreal exprtk::details::constant::_2_pi = mpfr::mpreal( 2.0) / mpfr::const_pi(mpfr_precision,mpfr_round)
static

Definition at line 77 of file exprtk_mpfr_adaptor.hpp.

◆ e

const mpfr::mpreal exprtk::details::constant::e = mpfr::const_euler(mpfr_precision,mpfr_round)
static

Definition at line 71 of file exprtk_mpfr_adaptor.hpp.

◆ log2

const mpfr::mpreal exprtk::details::constant::log2 = mpfr::const_log2 (mpfr_precision,mpfr_round)
static

Definition at line 79 of file exprtk_mpfr_adaptor.hpp.

◆ mpfr_precision

const mp_prec_t exprtk::details::constant::mpfr_precision = 128
static

Definition at line 68 of file exprtk_mpfr_adaptor.hpp.

◆ mpfr_round

const mp_rnd_t exprtk::details::constant::mpfr_round = mpfr::mpreal::get_default_rnd()
static

◆ pi

const mpfr::mpreal exprtk::details::constant::pi = mpfr::const_pi (mpfr_precision,mpfr_round)
static

Definition at line 72 of file exprtk_mpfr_adaptor.hpp.

◆ pi_180

const mpfr::mpreal exprtk::details::constant::pi_180 = mpfr::const_pi (mpfr_precision,mpfr_round) / mpfr::mpreal(180.0)
static

Definition at line 75 of file exprtk_mpfr_adaptor.hpp.

Referenced by exprtk::details::numeric::details::d2r_impl().

◆ pi_2

const mpfr::mpreal exprtk::details::constant::pi_2 = mpfr::const_pi (mpfr_precision,mpfr_round) / mpfr::mpreal( 2.0)
static

Definition at line 73 of file exprtk_mpfr_adaptor.hpp.

◆ pi_4

const mpfr::mpreal exprtk::details::constant::pi_4 = mpfr::const_pi (mpfr_precision,mpfr_round) / mpfr::mpreal( 4.0)
static

Definition at line 74 of file exprtk_mpfr_adaptor.hpp.

◆ sqrt2

const mpfr::mpreal exprtk::details::constant::sqrt2 = mpfr::sqrt(mpfr::mpreal(2.0))
static

Definition at line 80 of file exprtk_mpfr_adaptor.hpp.