Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

it's probably a floating point comparison issue. you do not compare floats for equality. you compute the absolute or relative error and check if it's below some acceptable threshold "epsilon".

it's probably a floating point comparison issue. you do not compare floats for equality. you compute the absolute or relative error and check if it's below some acceptable threshold "epsilon".

alternatively: something happens to EXPECT_EQ(). you'll need to investigate, what this function (macro?) does in a release build, or an x64 build.