X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=intrin.c;h=e4f398615464c5be06d8307cd458ae12c02e4891;hb=a80aa89e093d66ca069de87f001773dc449ccaa2;hp=26012e78765757dea350ac81e7dd59d0233a962d;hpb=73d9aa29c468a12096c0c7efc6535ffb45d85507;p=xonotic%2Fgmqcc.git diff --git a/intrin.c b/intrin.c index 26012e7..e4f3986 100644 --- a/intrin.c +++ b/intrin.c @@ -57,7 +57,7 @@ vec_push(intrin->parser->globals, (ast_expression*)(VALUE)); \ } while (0) -#define QC_M_E 2.71828182845905 +#define QC_M_E 2.71828182845905f static ast_expression *intrin_pow (intrin_t *intrin) { /* @@ -351,7 +351,7 @@ static ast_expression *intrin_isnan(intrin_t *intrin) { #undef INTRIN_REG #undef INTRIN_VAL -/* +/* * TODO: make static (and handle ast_type_string) here for the builtin * instead of in SYA parse close. */ @@ -365,7 +365,7 @@ static const intrin_func_t intrinsics[] = { {&intrin_mod, "__builtin_mod", "mod"}, {&intrin_pow, "__builtin_pow", "pow"}, {&intrin_isnan, "__builtin_isnan", "isnan"}, - {&intrin_debug_typestring, "__builtin_debug_typestring", ""} + {&intrin_debug_typestring, "__builtin_debug_typestring", ""} }; static void intrin_error(intrin_t *intrin, const char *fmt, ...) {