mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 15:41:12 +00:00
Fix
This commit is contained in:
parent
63c0917d24
commit
50d1bfe783
1 changed files with 1 additions and 1 deletions
2
intrin.c
2
intrin.c
|
@ -85,7 +85,7 @@ static ast_expression *intrin_isfinite(intrin_t *intrin) {
|
||||||
*/
|
*/
|
||||||
ast_value *value = NULL;
|
ast_value *value = NULL;
|
||||||
ast_value *x = ast_value_new(intrin_ctx(intrin), "x", TYPE_FLOAT);
|
ast_value *x = ast_value_new(intrin_ctx(intrin), "x", TYPE_FLOAT);
|
||||||
ast_function *func = intrin_value(intrin, &value, NULL, TYPE_FLOAT);
|
ast_function *func = intrin_value(intrin, &value, "isfinite", TYPE_FLOAT);
|
||||||
ast_call *callisnan = ast_call_new(intrin_ctx(intrin), intrin_func_self(intrin, "isnan", "isfinite"));
|
ast_call *callisnan = ast_call_new(intrin_ctx(intrin), intrin_func_self(intrin, "isnan", "isfinite"));
|
||||||
ast_call *callisinf = ast_call_new(intrin_ctx(intrin), intrin_func_self(intrin, "isinf", "isfinite"));
|
ast_call *callisinf = ast_call_new(intrin_ctx(intrin), intrin_func_self(intrin, "isinf", "isfinite"));
|
||||||
ast_block *block = ast_block_new(intrin_ctx(intrin));
|
ast_block *block = ast_block_new(intrin_ctx(intrin));
|
||||||
|
|
Loading…
Reference in a new issue