Uploaded image for project: 'Clojure'
  1. CLJ-1262

Set equality broken with BigInteger

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Declined
    • Affects versions: Release 1.5
    • Fix versions: None
    • Labels:
      None

      Description

      The CLJ-1106 Closed bug is still present when using BigInteger:

      (let [n1 -5, n2 (BigInteger. "-5")]
        [(= n1 n2) (= #{n1} #{n2}) (= [n1] [n2])])
      ;; => [true false true]
      

      Andy Fingerhut pointed out that this may be out of scope in the same way as CLJ-1036 Closed .

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gfredericks gfredericks
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: