Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/flint/flintlib/arb.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ cdef extern from "flint/arb.h":
void arb_nonnegative_part(arb_t u, const arb_t x)
slong arb_rel_error_bits(const arb_t x)
slong arb_rel_accuracy_bits(const arb_t x)
slong arb_rel_one_accuracy_bits(const arb_t x)
long arb_bits(const arb_t x)
void arb_randtest_exact(arb_t x, flint_rand_t state, long prec, long mag_bits)
void arb_randtest_wide(arb_t x, flint_rand_t state, long prec, long mag_bits)
Expand Down
3 changes: 3 additions & 0 deletions src/flint/types/acb.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1400,6 +1400,9 @@ cdef class acb(flint_scalar):
def rel_accuracy_bits(self):
return acb_rel_accuracy_bits(self.val)

def rel_one_accuracy_bits(self):
return acb_rel_one_accuracy_bits(self.val)

def ei(s):
r"""
Exponential integral `\operatorname{Ei}(s)`.
Expand Down
3 changes: 3 additions & 0 deletions src/flint/types/arb.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2413,6 +2413,9 @@ cdef class arb(flint_scalar):
def rel_accuracy_bits(self):
return arb_rel_accuracy_bits(self.val)

def rel_one_accuracy_bits(self):
return arb_rel_one_accuracy_bits(self.val)

def lambertw(s, int branch=0):
r"""
Lambert *W* function, `W_k(s)`. Either the principal
Expand Down