From: Dale Weiler Date: Sat, 23 Nov 2013 16:15:28 +0000 (-0500) Subject: Fix comments X-Git-Tag: xonotic-v0.8.0~66 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=52cda620b2add58d4683393636e0650aafff80a8;p=xonotic%2Fgmqcc.git Fix comments --- diff --git a/intrin.c b/intrin.c index e94d475..e22b283 100644 --- a/intrin.c +++ b/intrin.c @@ -124,8 +124,8 @@ static ast_expression *intrin_pow(intrin_t *intrin) { ast_function *func = intrin_value(intrin, &value, "pow", TYPE_FLOAT); /* prepare some calls for later */ - ast_call *callpow1 = ast_call_new(intrin_ctx(intrin), (ast_expression*)value); /* for pow(base, -exp) */ - ast_call *callpow2 = ast_call_new(intrin_ctx(intrin), (ast_expression*)value); /* for pow(vase, exp / 2) */ + ast_call *callpow1 = ast_call_new(intrin_ctx(intrin), (ast_expression*)value); /* for pow(base, -exp) */ + ast_call *callpow2 = ast_call_new(intrin_ctx(intrin), (ast_expression*)value); /* for pow(vase, exp / 2) */ ast_call *callsqrt1 = ast_call_new(intrin_ctx(intrin), intrin_func_self(intrin, "sqrt", "pow")); /* for sqrt(base) */ ast_call *callsqrt2 = ast_call_new(intrin_ctx(intrin), intrin_func_self(intrin, "sqrt", "pow")); /* for sqrt(square) */ ast_call *callfabs = ast_call_new(intrin_ctx(intrin), intrin_func_self(intrin, "fabs", "pow")); /* for fabs(mid - exp) */ @@ -507,7 +507,7 @@ static ast_expression *intrin_pow(intrin_t *intrin) { ) ); - /* return midvalue */ + /* return accumulate */ vec_push(body->exprs, (ast_expression*)ast_return_new( intrin_ctx(intrin),