]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - exec.c
propagate the 'inexact' flag on when initializing a constant
[xonotic/gmqcc.git] / exec.c
diff --git a/exec.c b/exec.c
index 70011c977f06ecd7c83f1a36ca1a705064dad414..29a04a3fcc689f8faeabd40264e4876a9ce2acce 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -827,7 +827,7 @@ static int qc_pow(qc_program_t *prog) {
     CheckArgs(2);
     base = GetArg(0);
     exp = GetArg(1);
-    out._float = pow(base->_float, exp->_float);
+    out._float = powf(base->_float, exp->_float);
     Return(out);
     return 0;
 }