Ticket #1333 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

[with trivial patch, with positive review] fix a major inefficiency in floating point square root computation in Sage

Reported by: was Owned by: somebody
Priority: major Milestone: sage-2.8.15
Component: basic arithmetic Keywords:
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

Paul Zimmerman's benchmarks unveiled a serious slowdown in x.sqrt() for x mpfr.

This patch fixes the problem.

Attachments

trac1333.patch Download (1.2 KB) - added by was 6 years ago.

Change History

Changed 6 years ago by was

comment:1 Changed 6 years ago by cwitty

  • Summary changed from [with trivial patch] fix a major inefficiency in floating point square root computation in Sage to [with trivial patch, with positive review] fix a major inefficiency in floating point square root computation in Sage

(I didn't actually test it, but...) looks good to me.

comment:2 Changed 6 years ago by mabshoff

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

Merged in 2.8.15.alpha1.

Note: See TracTickets for help on using tickets.