Opened 12 years ago

Closed 12 years ago

#7328 closed defect (fixed)

latex doesn't handle python floats correctly

Reported by: jason Owned by: cwitty
Priority: minor Milestone: sage-4.2.1
Component: misc Keywords:
Cc: kcrisman Merged in: sage-4.2.1.alpha0
Authors: Jason Grout Reviewers: Karl-Dieter Crisman
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges



sage: latex(float(3e-10))
sage: latex(RR(3e-10))
3.00000000000000 \times 10^{-10}

Attachments (1)

trac-7328-latex-float.patch (1.5 KB) - added by jason 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by jason

comment:1 Changed 12 years ago by jason

  • Cc kcrisman added

comment:2 Changed 12 years ago by jason

  • Status changed from new to needs_review

comment:3 Changed 12 years ago by kcrisman

  • Status changed from needs_review to positive_review

This seems good and consistent with the rest of the latex_table, and certainly makes sense for the notebook! Unless there are other obvious places to put doctests for this (notebook?), positive review.

comment:4 Changed 12 years ago by mhansen

  • Authors set to Jason Grout
  • Merged in set to sage-4.2.1.alpha0
  • Resolution set to fixed
  • Reviewers set to Karl-Dieter Crisman
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.