mirror of
https://github.com/louisrubet/rpn
synced 2024-11-16 07:47:26 +01:00
set missing rnd default in rpn_default
This commit is contained in:
parent
12b83f69af
commit
b90c382b24
2 changed files with 4 additions and 1 deletions
|
@ -658,4 +658,7 @@ void program::apply_default() {
|
|||
number::s_mode = DEFAULT_MODE;
|
||||
number::s_digits = DEFAULT_DECIMAL_DIGITS;
|
||||
mpreal::set_default_prec(MPFR_DEFAULT_PREC_BITS);
|
||||
|
||||
static mp_rnd_t def_rnd = mpreal::get_default_rnd();
|
||||
mpreal::set_default_rnd(def_rnd);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# TRIGONOMETRY
|
||||
|
||||
`del default 6 fix`
|
||||
`del default 6 fix 128 prec`
|
||||
|
||||
## pi
|
||||
|
||||
|
|
Loading…
Reference in a new issue