This commit is contained in:
Bill Currie 2004-01-22 06:27:56 +00:00
parent 4843d0adde
commit 43f68ba10c

View file

@ -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},