Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

possible bug in: _cmp_ function

Hello, on a 2019-release of sage, the following behaviour was observed: After defining: R = Zp(5) a = R(5, 6) b = R(10)

an inconsistent output was given for aa : aa True

Is this a bug, or should the output not be consistent here for some reason? P.S: The comparison function is implemented in the file: padic_generic_element.pyx Thank you.

click to hide/show revision 2
None

possible bug in: _cmp_ function

Hello, on a 2019-release of sage, the following behaviour was observed: After defining: defining:

R = Zp(5)
a = R(5, 6)
b = R(10)

R(10)

an inconsistent output was given for aa : aa Truea<b and b>a:

a<b
False
b>a
True

Is this a bug, or should the output not be consistent here for some reason? P.S: The comparison function is implemented in the file: padic_generic_element.pyx padic_generic_element.pyx Thank you.

possible bug in: _cmp_ function

Hello, on a 2019-release of sage, the following behaviour was observed: After defining:

R = Zp(5)
a = R(5, 6)
b = R(10)

an inconsistent output was given for a<b and b>a:

a<b
False
b>a
True

Is this a bug, or should the output not be consistent here for some reason? P.S: The comparison function is implemented in the file: padic_generic_element.pyx Thank you.

possible bug in: _cmp_ function

Hello, on a 2019-release of sage, the following behaviour was observed: After defining:

R = Zp(5)
a = R(5, 6)
b = R(10)

an inconsistent output was given for a<b and b>a:

a<b
False
b>a
True

Is this a bug, or should the output not be consistent here for some reason? P.S: The comparison function is implemented in the file: padic_generic_element.pyx Thank you.