Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-2377

Infinite loop formatting a very (very) small number

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.10.1
    • Fix Version/s: 2.10.2
    • Component/s: jvdesktop
    • Labels:
      None

      Description

      Came across an infinite loop in Format.exp_format() when the double value is smaller than 1.0e-309.
      This arose in the PCA calculation after duplicating uniref50.fa 5 times to make 480 sequences.
      Matrix.printD() calls Format.print(ps, "%15.4e", 1.0E-323);

        Attachments

          Activity

            People

            Assignee:
            gmungoc Mungo Carstairs
            Reporter:
            gmungoc Mungo Carstairs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: