diff options
author | Duncan Wilkie <antigravityd@gmail.com> | 2023-11-18 06:11:09 -0600 |
---|---|---|
committer | Duncan Wilkie <antigravityd@gmail.com> | 2023-11-18 06:11:09 -0600 |
commit | 11da511c784eca003deb90c23570f0873954e0de (patch) | |
tree | e14fdd3d5d6345956d67e79ae771d0633d28362b /ic-reals-6.3/math-lib/atanh_Q.c |
Initial commit.
Diffstat (limited to 'ic-reals-6.3/math-lib/atanh_Q.c')
-rw-r--r-- | ic-reals-6.3/math-lib/atanh_Q.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ic-reals-6.3/math-lib/atanh_Q.c b/ic-reals-6.3/math-lib/atanh_Q.c new file mode 100644 index 0000000..d66cf14 --- /dev/null +++ b/ic-reals-6.3/math-lib/atanh_Q.c @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2000, Imperial College + * + * This file is part of the Imperial College Exact Real Arithmetic Library. + * See the copyright notice included in the distribution for conditions + * of use. + */ + +#include <stdio.h> +#include "real.h" + +/* + * These will be specialized in a later version. + */ +Real +atanh_QInt(int a, int b) +{ + Real r; + + r = vector_Int(a, b); + return atanh_R(r); +} + +Real +atanh_QZ(mpz_t a, mpz_t b) +{ + Real r; + + r = vector_Z(a, b); + return atanh_R(r); +} |