Opened 9 years ago

Closed 8 years ago

#14890 closed defect (wontfix)

rounding in logs

Reported by: Amy Feaver Owned by: Alex Ghitza
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: basic arithmetic Keywords: logarithm mpfr rounding
Cc: Merged in:
Authors: Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by Jeroen Demeyer)

Logarithms are not rounded correctly:

sage: (3.0^5).log(3.0) - 5.0
-8.88178419700125e-16

Change History (8)

comment:1 Changed 9 years ago by Karl-Dieter Crisman

Authors: Amy Feaver, Anne Ho

author is for the author of the patch :) This is probably typical floating point stuff, not sure how easy it would be to fix.

comment:2 Changed 9 years ago by For batch modifications

Milestone: sage-6.1sage-6.2

comment:3 Changed 9 years ago by For batch modifications

Milestone: sage-6.2sage-6.3

comment:4 Changed 8 years ago by Jeroen Demeyer

Component: calculusbasic arithmetic
Description: modified (diff)
Keywords: logarithm mpfr rounding added; logarithms removed
Owner: changed from Burcin Erocal to Alex Ghitza

comment:5 Changed 8 years ago by For batch modifications

Milestone: sage-6.3sage-6.4

comment:6 Changed 8 years ago by Jeroen Demeyer

Milestone: sage-6.4sage-duplicate/invalid/wontfix
Reviewers: Jeroen Demeyer
Status: newneeds_review

Sage is not the place to implement this. If you really need this, it should be implemented in MPFR, then Sage can interface it.

Close as "wontfix".

comment:7 Changed 8 years ago by Jeroen Demeyer

Status: needs_reviewpositive_review

comment:8 Changed 8 years ago by Volker Braun

Resolution: wontfix
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.