Output difference with Debug/Release settings

i have a small animation glitch in my app. This seems related to the different debug/release settings or code optimization settings.

Running those lines (xcode 7.3, of master) in an empty project outputs different results, this seems strange.

ofMatrix4x4 b;
b.rotateRad(ofLerp(0.0, (PI+HALF_PI),0.666666), 0, 0, 1);
cout << b.getRotate()   <<  endl;

Debug:   0, 0, 1, 1.62522e-06
Release: 0, 0, 0.00941427, 0.000172633

Is there a way to control this behaviour?
thx, chris

Ok, found it.
Setting Code Generation -> Relax IEEE Compliance to No in Release solved my issue.

yes that shouldn’t be enabled by default. Can you open an issue in github?

done :wink: