]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.ini.example
Perliminary work on arithmetic exception handling in the constant evaluator. We can...
[xonotic/gmqcc.git] / gmqcc.ini.example
index 20680d372771cc2d0972e8508fa3632ff2cc5849..a12628e5c1fc34c7334ed1880521f5c311a8014b 100644 (file)
     BUILTINS = true
 
 
+    #When comparing an inexact value such as `1.0/3.0' the result is
+    #pathologically wrong. Enabling this will trigger a compiler warning
+    #on such expressions.
+    INEXACT_COMPARES = true
+
+
 [optimizations]
     #Some general peephole optimizations. For instance the code `a = b
     #+ c` typically generates 2 instructions, an ADD and a STORE. This