Skip to content

power series with zero p-adic coefficients #4656

@chriswuthrich

Description

@chriswuthrich

The following _repr_ does not look good to me

sage: R.<T> = Qp(5,5)[[]]
sage: O(5^3)*T
0
sage: 1+O(5^3)*T
1 + O(5^5) + O(5^3)*T

But that is due to

sage: s= O(5^3)*T
sage: s.is_zero()
True
sage: s == R(0)
False

This I consider to be a bug according to the docstring of s.is_zero? saying

Return True if self equals self.parent()(0).

Component: padics

Keywords: padic powerseries padicIMA

Stopgaps: todo

Issue created by migration from https://trac.sagemath.org/ticket/4656

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions