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 fe0fd28 commit 295e383Copy full SHA for 295e383
src/sage/rings/qqbar.py
@@ -1646,16 +1646,6 @@ def _element_constructor_(self, x):
1646
True
1647
sage: pi in QQbar # needs sage.symbolic
1648
False
1649
-
1650
- TESTS:
1651
1652
- Check if :trac:`12745` is fixed::
1653
1654
- sage: x = exp(2*I*pi/7) + exp(-2*I*pi/7)
1655
- sage: QQbar(x) in AA
1656
- True
1657
- sage: AA(x)
1658
- 1.246979603717467?
1659
"""
1660
if isinstance(x, AlgebraicNumber):
1661
return x
0 commit comments