Re: RFR: JDK-8257086: Clarify differences between {Float, Double}.equals and == [v3]

2021-01-29 Thread Stuart Marks
On Fri, 29 Jan 2021 17:31:09 GMT, Joe Darcy wrote: >> Updates to the specifications of Double.{equals, compareTo} to explain more >> explicitly why the obvious wrappers around "==" and "<"/"==" are not >> sufficient for floating-point values. >> >> Once the wording is worked out, I'll

Re: RFR: JDK-8257086: Clarify differences between {Float, Double}.equals and == [v3]

2021-01-29 Thread Joe Darcy
> Updates to the specifications of Double.{equals, compareTo} to explain more > explicitly why the obvious wrappers around "==" and "<"/"==" are not > sufficient for floating-point values. > > Once the wording is worked out, I'll replicate it for the analogous methods > on Float. Joe Darcy