mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
d'oh
This commit is contained in:
parent
4843d0adde
commit
43f68ba10c
1 changed files with 2 additions and 0 deletions
|
@ -134,12 +134,14 @@ bi_acosh (progs_t *pr)
|
|||
{
|
||||
double y = P_FLOAT (pr, 0);
|
||||
R_FLOAT (pr) = log (y + sqrt (y * y - 1));
|
||||
}
|
||||
|
||||
static void
|
||||
bi_atanh (progs_t *pr)
|
||||
{
|
||||
double y = P_FLOAT (pr, 0);
|
||||
R_FLOAT (pr) = log ((1 + y) / (1 - y)) / 2;
|
||||
}
|
||||
|
||||
static builtin_t builtins[] = {
|
||||
{"sin", bi_sin, -1},
|
||||
|
|
Loading…
Reference in a new issue