Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-18

[math] ComplexFormat ignores imaginaryFormat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Operating System: other
      Platform: Other

    • 38091

    Description

      Constructors for ComplexFormat allow different custom NumberFormats to be
      specified for real and imaginary parts. These are stored in instance fields
      realFormat and imaginaryFormat. The private method formatDouble that formats
      real and imaginary parts ignores the actual parameter specifying the format,
      using realFormat all the time.

      Attachments

        Activity

          People

            Unassigned Unassigned
            phil@steitz.com Phil Steitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: