mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-21 19:01:29 +00:00
s/atanhf/atanh/
This commit is contained in:
parent
360389638b
commit
7ffda37513
1 changed files with 1 additions and 1 deletions
2
fold.c
2
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)));
|
return fold_constgen_float(fold, asinhf(fold_immvalue_float(a)));
|
||||||
}
|
}
|
||||||
static GMQCC_INLINE ast_expression *fold_intrin_atanh(fold_t *fold, ast_value *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) {
|
static GMQCC_INLINE ast_expression *fold_intrin_exp(fold_t *fold, ast_value *a) {
|
||||||
return fold_constgen_float(fold, expf(fold_immvalue_float(a)));
|
return fold_constgen_float(fold, expf(fold_immvalue_float(a)));
|
||||||
|
|
Loading…
Reference in a new issue