projects
/
xonotic
/
gmqcc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3603896
)
s/atanhf/atanh/
author
Dale Weiler <graphitemaster@users.noreply.github.com>
Sat, 8 Feb 2014 07:50:06 +0000
(
02:50
-0500)
committer
Dale Weiler <graphitemaster@users.noreply.github.com>
Sat, 8 Feb 2014 07:50:06 +0000
(
02:50
-0500)
fold.c
patch
|
blob
|
history
diff --git
a/fold.c
b/fold.c
index d90887da2ae2012ab17f55fe193a7b70d8866e9b..f064f29fa5d599c48dfda5e49342e32aaee3b98b 100644
(file)
--- 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)));