File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1474,7 +1474,8 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
1474
1474
1475
1475
def is_power (self ):
1476
1476
r """
1477
- Returns \c ode{True} if self is a perfect power, ie if there exist integers a and b, b > 1 with self = a^ b.
1477
+ Returns \c ode{True} if self is a perfect power, ie if there
1478
+ exist integers a and b, $ b > 1$ with $ self = a^ b$ .
1478
1479
1479
1480
EXAMPLES:
1480
1481
sage: Integer( -27) . is_power( )
@@ -1486,7 +1487,7 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
1486
1487
1487
1488
cdef int _is_power_of(Integer self , Integer n):
1488
1489
r """
1489
- Returns a non-zero int if there is an integer b with self = n^ b
1490
+ Returns a non-zero int if there is an integer b with $ self = n^ b$ .
1490
1491
1491
1492
For more documentation see \c ode{is_power_of}
1492
1493
@@ -1604,7 +1605,7 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
1604
1605
1605
1606
def is_power_of (Integer self , n ):
1606
1607
r """
1607
- Returns \c ode{True} if there is an integer b with self = n^ b
1608
+ Returns \c ode{True} if there is an integer b with $ self = n^ b$ .
1608
1609
1609
1610
EXAMPLES:
1610
1611
sage: Integer( 64) . is_power_of( 4)
Original file line number Diff line number Diff line change 1
1
"""nodoctests"""
2
- version = '2.5.0.2 ' ; date = '2007-05-11 '
2
+ version = 'sage- 2.5.1.alpha1 ' ; date = '2007-05-18 '
You can’t perform that action at this time.
0 commit comments