Opened 6 years ago

Closed 5 years ago

#14890 closed defect (wontfix)

rounding in logs

Reported by: amy Owned by: AlexGhitza
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:

Description (last modified by jdemeyer)

Logarithms are not rounded correctly:

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

Change History (8)

comment:1 Changed 6 years ago by kcrisman

  • Authors Amy Feaver, Anne Ho deleted

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 5 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:3 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:4 Changed 5 years ago by jdemeyer

  • Component changed from calculus to basic arithmetic
  • Description modified (diff)
  • Keywords logarithm mpfr rounding added; logarithms removed
  • Owner changed from burcin to AlexGhitza

comment:5 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:6 Changed 5 years ago by jdemeyer

  • Milestone changed from sage-6.4 to sage-duplicate/invalid/wontfix
  • Reviewers set to Jeroen Demeyer
  • Status changed from new to needs_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 5 years ago by jdemeyer

  • Status changed from needs_review to positive_review

comment:8 Changed 5 years ago by vbraun

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