]> git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/inexact.qc
Arithmetic exception flag and a plethora of tests.
[xonotic/gmqcc.git] / tests / inexact.qc
1 void main() {
2     const float a = 1.0 / 3.0;
3     const float b = 0.3333333333333;
4
5     if (a == b) {
6         // Should trigger warning
7     }
8 }