gmqcc/tests/inexact.qc

8 lines
133 B
C++

const float a = 1.0 / 3.0;
const float b = 0.33333333333;
void main() {
if (a == b) {
// Should trigger warning
}
}