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

[math] ComplexFormat ignores imaginaryFormat

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: