We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0cf1e4 commit 5cd11f1Copy full SHA for 5cd11f1
src/sage/symbolic/constants.py
@@ -883,6 +883,8 @@ class Log2(Constant):
883
0.69314718055994530941723212145817656807
884
sage: RealField(150)(2).log()
885
0.69314718055994530941723212145817656807550013
886
+ sage: giac(log2) # optional - giac
887
+ ln(2)
888
"""
889
def __init__(self, name='log2'):
890
@@ -893,7 +895,7 @@ def __init__(self, name='log2'):
893
895
894
896
conversions = dict(mathematica='Log[2]', kash='Log(2)',
897
maple='log(2)', maxima='log(2)', gp='log(2)',
- pari='log(2)', octave='log(2)')
898
+ pari='log(2)', octave='log(2)', giac='log(2)')
899
Constant.__init__(self, name, conversions=conversions,
900
latex=r'\log(2)', domain='positive')
901
0 commit comments