RS6 observation about epsilon.

I've attached two screenshots showing a minor anomaly with the epsilon hint on double comparisons. Screencap1 shows RS' suggestion to convert the statement to use an epsilon comparison. The idea is good in principle. Screencap2 shows the result after RS converted it. It shows the result of the code conversion and the error. I had to change it to double.Epsilon in order for it to compile. Perhaps RS did it that way intentionally or could it be a minor bug?



Attachment(s):
Screencap2.png
screencap1.png
1 comment

Hello Peter,

This looks like a bug to me. I've logged it under http://youtrack.jetbrains.net/issue/RSRP-273789
and you're welcome to vote for it. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I've attached two screenshots showing a minor anomaly with the epsilon
hint on double comparisons. The first shows RS' suggestion to convert
the statement to use an epsilon comparison. The idea is good in
principle. The second screenshot shows the result after RS converted
it. It shows the result of the code conversion and the error. I had to
change it to double.Epsilon in order for it to compile. Perhaps RS
did it that way intentionally or could it be a minor bug?

---
Original message URL:
http://devnet.jetbrains.net/message/5308616#5308616



0

Please sign in to leave a comment.