make fmpcb_const_pi visible

This commit is contained in:
Fredrik Johansson 2013-07-30 14:42:12 +02:00
parent 4bd28225bc
commit 6f62daaccf
3 changed files with 11 additions and 7 deletions

View file

@ -288,6 +288,10 @@ Arithmetic
Elementary functions
-------------------------------------------------------------------------------
.. function:: void fmpcb_const_pi(fmpcb_t y, long prec)
Sets *y* to the constant `\pi`.
.. function:: void fmpcb_log(fmpcb_t y, const fmpcb_t z, long prec)
Sets *y* to the principal branch of the natural logarithm of *z*,

View file

@ -530,6 +530,13 @@ void fmpcb_pow_fmpz(fmpcb_t y, const fmpcb_t b, const fmpz_t e, long prec);
void fmpcb_pow_ui(fmpcb_t y, const fmpcb_t b, ulong e, long prec);
void fmpcb_pow_si(fmpcb_t y, const fmpcb_t b, long e, long prec);
static __inline__ void
fmpcb_const_pi(fmpcb_t x, long prec)
{
fmprb_const_pi(fmpcb_realref(x), prec);
fmprb_zero(fmpcb_imagref(x));
}
void fmpcb_log(fmpcb_t r, const fmpcb_t z, long prec);
void fmpcb_exp(fmpcb_t r, const fmpcb_t z, long prec);

View file

@ -27,13 +27,6 @@
#include "gamma.h"
#include "zeta.h"
void
fmpcb_const_pi(fmpcb_t x, long prec)
{
fmprb_const_pi(fmpcb_realref(x), prec);
fmprb_zero(fmpcb_imagref(x));
}
void
_fmpcb_poly_gamma_series(fmpcb_ptr res, fmpcb_srcptr h, long hlen, long len, long prec)
{