summaryrefslogtreecommitdiff
path: root/test/files/run/t6331.scala
Commit message (Collapse)AuthorAgeFilesLines
* Test for consistency of Constant#{equals, hashCode}.Jason Zaugg2012-09-091-1/+9
| | | | | | For the examples I've constructed, they are consistent, but I put this down to good luck, rather than good management. The next commit will address this.
* Refine equality of Constant types over floating point values.Jason Zaugg2012-09-081-0/+63
The constant types for 0d and -0d should not be equal. This is implemented by checking equality of the result of doubleToRawLongBits / floatToRawIntBits, which also correctly considers two NaNs of the same flavour to be equal. Followup to SI-6331.