Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
24483: import LOG_TEN_TWO_PLUS_EPSILON from sage.arith.constants
Browse files Browse the repository at this point in the history
  • Loading branch information
videlec committed Oct 11, 2020
1 parent 03ee540 commit 897416c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sage/rings/complex_mpfr.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ from sage.structure.parent_gens import ParentWithGens

from sage.misc.sage_eval import sage_eval

from sage.arith.constants cimport LOG_TEN_TWO_PLUS_EPSILON
from . import ring, infinity
from .integer cimport Integer

Expand Down Expand Up @@ -108,8 +109,6 @@ cdef object numpy_object_interface = {'typestr': '|O'}
cdef mpfr_rnd_t rnd
rnd = MPFR_RNDN

cdef double LOG_TEN_TWO_PLUS_EPSILON = 3.321928094887363 # a small overestimate of log(10,2)

def set_global_complex_round_mode(n):
"""
Set the global complex rounding mode.
Expand Down

0 comments on commit 897416c

Please sign in to comment.