Bug?

anonymous via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 23 14:42:46 PDT 2014


On Thursday, 23 October 2014 at 21:17:25 UTC, deed wrote:
> Some testing can be found on http://dpaste.dzfl.pl/5f55f4152aa8
> for both Windows and Linux. This just illustrates the sin 
> function.

I think the tests marked "[1]" are expected to fail. They involve
converting one operand of the comparison to double, but not the
other. The comparison is done using real precision. So, one
operand goes through a real->double->real conversion, which
changes the value.


More information about the Digitalmars-d-learn mailing list