# Revision history [back]

### 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.

 2 None Iguananaut 1698 ●7 ●33 ●54

### 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.

 3 retagged tmonteil 24258 ●27 ●176 ●447 http://wiki.sagemath.o...

### 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.