diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-09-08 18:43:22 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-09-08 18:52:51 +0200 |
commit | 815f60ff9c50d22a23fbc9d980570fb6941a7d71 (patch) | |
tree | a313adaf9493d35eecb858c1d6bcdba6e272979f /test/files/run/t4895.scala | |
parent | c619f94a9cfbddc12c9c5df3affb4636f8982a0a (diff) | |
download | scala-815f60ff9c50d22a23fbc9d980570fb6941a7d71.tar.gz scala-815f60ff9c50d22a23fbc9d980570fb6941a7d71.tar.bz2 scala-815f60ff9c50d22a23fbc9d980570fb6941a7d71.zip |
Refine equality of Constant types over floating point values.
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.
Diffstat (limited to 'test/files/run/t4895.scala')
0 files changed, 0 insertions, 0 deletions