Opened 5 years ago

Closed 4 years ago

#23234 closed task (duplicate)

Remove precision when printing fixed modulus p-adic elements

Reported by: roed Owned by:
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: padics Keywords: sd87, padicIMA
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


Currently, fixed modulus elements always print a precision

sage: ZpFM(5)(1)
1 + O(5^20)

For consistency with floating point p-adics and to save screen real estate, I think that they should not print their precision.

sage: a = ZpFM(5)(1); a
sage: a.precision_absolute()

Change History (6)

comment:1 Changed 4 years ago by caruso

FWIW, I agree :-)

comment:2 Changed 4 years ago by caruso

See ticket #24843

comment:3 Changed 4 years ago by roed

  • Keywords padicIMA added

comment:4 Changed 4 years ago by caruso

  • Milestone changed from sage-8.0 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

comment:5 Changed 4 years ago by caruso

  • Status changed from needs_review to positive_review

comment:6 Changed 4 years ago by embray

  • Resolution set to duplicate
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.