Equality == comparisons with floating point numbers

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Fri Dec 6 06:58:13 PST 2013


On 06/12/13 15:02, Ali Çehreli wrote:
> Are they identical when printed with %a?

Yes.  You can see some of the results here (for the 32-bit systems where I was 
getting failures):
https://d.puremagic.com/test-results/pull.ghtml?projectid=1&runid=811923&logid=6
https://d.puremagic.com/test-results/pull.ghtml?projectid=1&runid=811924&logid=6
https://d.puremagic.com/test-results/pull.ghtml?projectid=1&runid=811927&logid=6
https://d.puremagic.com/test-results/pull.ghtml?projectid=1&runid=811930&logid=6

So, as I said, it's baffling why the equality operator is not returning true.


More information about the Digitalmars-d-learn mailing list