From: Dale Weiler Date: Sat, 8 Feb 2014 07:50:06 +0000 (-0500) Subject: s/atanhf/atanh/ X-Git-Tag: xonotic-v0.8.0~11^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7ffda37513835bbf0aaa65f4ad4984c41028d410;p=xonotic%2Fgmqcc.git s/atanhf/atanh/ --- diff --git a/fold.c b/fold.c index d90887d..f064f29 100644 --- a/fold.c +++ b/fold.c @@ -729,7 +729,7 @@ static GMQCC_INLINE ast_expression *fold_intrin_asinh(fold_t *fold, ast_value *a return fold_constgen_float(fold, asinhf(fold_immvalue_float(a))); } static GMQCC_INLINE ast_expression *fold_intrin_atanh(fold_t *fold, ast_value *a) { - return fold_constgen_float(fold, atanhf(fold_immvalue_float(a))); + return fold_constgen_float(fold, (float)atanh(fold_immvalue_float(a))); } static GMQCC_INLINE ast_expression *fold_intrin_exp(fold_t *fold, ast_value *a) { return fold_constgen_float(fold, expf(fold_immvalue_float(a)));