gmqcc/tests/inexact.qc

9 lines
133 B
C++
Raw Normal View History

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