From: Dale Weiler Date: Mon, 25 Nov 2013 16:29:36 +0000 (-0500) Subject: Fix X-Git-Tag: xonotic-v0.8.0~59 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=02c6076bfdeeff4e60e0f6aba8171855c35b846b;p=xonotic%2Fgmqcc.git Fix --- diff --git a/intrin.c b/intrin.c index 57609b6..c025a0b 100644 --- a/intrin.c +++ b/intrin.c @@ -1319,7 +1319,7 @@ static ast_expression *intrin_inf(intrin_t *intrin) { ast_value *value = NULL; ast_value *x = ast_value_new(intrin_ctx(intrin), "x", TYPE_FLOAT); ast_value *y = ast_value_new(intrin_ctx(intrin), "y", TYPE_FLOAT); - ast_function *func = intrin_value(intrin, &value, "nan", TYPE_FLOAT); + ast_function *func = intrin_value(intrin, &value, "inf", TYPE_FLOAT); ast_block *block = ast_block_new(intrin_ctx(intrin)); size_t i;