Opened 7 years ago

Closed 7 years ago

#1154 closed defect (duplicate)

lost precision in RQDF -> RealField conversion

Reported by: zimmerma Owned by: jkantor
Priority: major Milestone: sage-2.8.15
Component: numerical Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

sage: R = RealField(206)
sage: a = R(5292635226105886036954352397762172773270339156347702272822435/2^205)
sage: b = RQDF(a)
sage: c = R(b)
self= 0.102925468350634334254648605229306925849343943655945448198193123
sage: a - c
1.215432671457254239676575010503930515740283626703352955683812e-63

I checked with b.get_doubles() that b == a, but was unable to find the routine which performs
the conversion from b (RQDF) to c (RealField?). It seems R._set_from_qd is not used.

Change History (2)

comment:1 Changed 7 years ago by mabshoff

  • Milestone set to sage-2.8.13

comment:2 Changed 7 years ago by cwitty

  • Resolution set to duplicate
  • Status changed from new to closed

This is one of the issues that's covered by the patch at #1162.

Note: See TracTickets for help on using tickets.