mirror of
https://github.com/vale981/arb
synced 2025-03-06 01:41:39 -05:00
make fmpcb_const_pi visible
This commit is contained in:
parent
4bd28225bc
commit
6f62daaccf
3 changed files with 11 additions and 7 deletions
|
@ -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*,
|
||||
|
|
7
fmpcb.h
7
fmpcb.h
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue